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

lint: Fix 2 sites failing a recently introduced golint check #2868

Merged
merged 1 commit into from
Sep 26, 2017

Conversation

dlespiau
Copy link
Contributor

golint has gained a new check and we don't freeze the golint version so CI was
failing on unrelated PRs:

app/multitenant/consul_client.go:69:2: redundant if ...; err != nil check, just return error instead.
report/marshal.go:188:2: redundant if ...; err != nil check, just return error instead.

Fix those!

golint has gained a new check and we don't freeze the golint version so CI was
failing on unrelated PRs:

app/multitenant/consul_client.go:69:2: redundant if ...; err != nil check, just return error instead.
report/marshal.go:188:2: redundant if ...; err != nil check, just return error instead.

Fix those!
@dlespiau dlespiau requested a review from leth September 26, 2017 11:15
@rade rade removed the request for review from leth September 26, 2017 11:23
@dlespiau dlespiau merged commit c74e683 into master Sep 26, 2017
@dlespiau dlespiau deleted the 2017-09-26-golint-update branch September 26, 2017 11:59
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.

2 participants