-
Notifications
You must be signed in to change notification settings - Fork 16
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
enable more linters #288
enable more linters #288
Conversation
Skipping CI for Draft Pull Request. |
@@ -86,8 +86,8 @@ func TestNewDeployment(t *testing.T) { | |||
container := findPublisherContainer(publisherName, *deployment) | |||
assert.NotNil(t, container) | |||
|
|||
assert.Equal(t, fmt.Sprint(container.Name), publisherName) | |||
assert.Equal(t, fmt.Sprint(container.Image), publisherConfig.Image) | |||
assert.Equal(t, container.Name, publisherName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(nit) Should we change assert
by require
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that would change the behaviour of the test, so i avoided it
Description
Changes proposed in this pull request:
lint
Makefile target to download a specific version of golangci-lintlint-fix
Makefile target. This target runs golangci-lint with fixing enabled. Certain linters will not complain, but actually fix the issues. Run this target togci
andgofumpt
your filesRelated issue(s)