Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(api): Return no err if app is not linked to a repo #3302

Merged
merged 3 commits into from
Sep 10, 2018
Merged

Conversation

yesnault
Copy link
Member

@yesnault yesnault commented Sep 9, 2018

Signed-off-by: Yvonnick Esnault [email protected]

engine/api/ui.go Outdated
if projectVCSServer := repositoriesmanager.GetProjectVCSServer(p, app.VCSServer); projectVCSServer != nil {
client, erra := repositoriesmanager.AuthorizedClient(ctx, api.mustDB(), api.Cache, projectVCSServer)
if erra != nil {
return sdk.WrapError(sdk.ErrUnknownError, "getApplicationOverviewHandler> Cannot get repo client %s : %v", app.VCSServer)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

err

@fsamin
Copy link
Member

fsamin commented Sep 10, 2018

btw fix(engine) should be fix(api)

Signed-off-by: Yvonnick Esnault <[email protected]>
Signed-off-by: Yvonnick Esnault <[email protected]>
@yesnault yesnault changed the title fix(engine): Return no err if app is not linked to a repo fix(api): Return no err if app is not linked to a repo Sep 10, 2018
@fsamin fsamin merged commit 7b89844 into master Sep 10, 2018
@yesnault yesnault deleted the ye-fix-overview branch September 20, 2018 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants