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

k8s: fix lint warnings and disabling gomnd #4396

Merged
merged 1 commit into from
Apr 25, 2022

Conversation

r-vasquez
Copy link
Contributor

@r-vasquez r-vasquez commented Apr 22, 2022

Cover letter

Bumping golangci-lint version from '1.40.1' -> '1.45.2' brings a few linter warnings, this PR addresses those and disables gomnd from the linter configuration.

The reason to disable gomnd is that it introduces warnings for magic numbers that doesn't make sense in go built in functions, e.g tommy-muehle/go-mnd#27

Release notes

  • none

@r-vasquez r-vasquez requested a review from twmb April 22, 2022 23:17
@r-vasquez r-vasquez requested a review from a team as a code owner April 22, 2022 23:17
@twmb twmb merged commit 0dd01fe into redpanda-data:dev Apr 25, 2022
@r-vasquez r-vasquez deleted the k8s-lint-fix branch June 22, 2022 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants