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 golangci-lint issues reported #31

Merged
merged 2 commits into from
May 21, 2024
Merged

fix golangci-lint issues reported #31

merged 2 commits into from
May 21, 2024

Conversation

avrodrigues5
Copy link
Collaborator

What does this PR change?

Fixes some golangci-lint complains

Does this PR rely on any other PRs?

No

How does this PR impact users?

None as minor changes on error checking while binding pflag to viper, using io.ReadAll instead of ioutil.ReadAll[DEPRECATED]

Links to Issues or tickets this PR addresses or fixes

Closes #28

What risks are associated with merging this PR? What is required to fully test this PR?

None

How was this PR tested?

Tested it in audit mode, most significant change was the io/util ReadAll function to io.ReadAll and worked fine! Then Ran golangci-lint locally.

@avrodrigues5 avrodrigues5 mentioned this pull request May 21, 2024
@avrodrigues5 avrodrigues5 changed the title fix golangci-lint issues noticed reported fix golangci-lint issues reported May 21, 2024
@chipzoller chipzoller merged commit 56989d3 into main May 21, 2024
1 check passed
@chipzoller chipzoller deleted the avr/fix-lint branch May 22, 2024 13:55
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.

Fix issues reported by golangci-lint
2 participants