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: check return value of d.Set #276

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tenthirtyam
Copy link
Collaborator

In order to have a good experience with our community, we recommend that you read the contributing guidelines for making a pull request.

Summary of Pull Request

Resolves all instances of "return value of d.Set is not checked" from errcheck.

Example returned in the golangci-lint action.

Type of Pull Request

  • This is a bug fix.
  • This is an enhancement or feature.
  • This is a code style/formatting update.
  • This is a documentation update.
  • This is a refactoring update.
  • This is a chore update
  • This is something else.
    Please describe:

Related to Existing Issues

Issue Number: N/A

Test and Documentation Coverage

For bug fixes or features:

  • Tests have been completed.
  • Documentation has been added/updated.

Breaking Changes?

  • Yes, there are breaking changes.
  • No, there are no breaking changes.

@tenthirtyam tenthirtyam added bug Bug technical-debt Technical Debt labels Oct 25, 2024
@tenthirtyam tenthirtyam self-assigned this Oct 25, 2024
@github-actions github-actions bot added the needs-review Needs Review label Oct 25, 2024
Copy link

@spacegospod spacegospod left a comment

Choose a reason for hiding this comment

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

This rule seems a bit like overkill if you ask me

@tenthirtyam
Copy link
Collaborator Author

This rule seems a bit like overkill if you ask me

Yeah, a bit of a pain.

@tenthirtyam tenthirtyam added this to the On Deck milestone Nov 2, 2024
@tenthirtyam tenthirtyam force-pushed the fix/check-return-valude branch 2 times, most recently from afbb38b to 0365272 Compare November 13, 2024 02:01
Resolves all instances of "return value of `d.Set` is not checked" from `errcheck`.

Signed-off-by: Ryan Johnson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug needs-review Needs Review technical-debt Technical Debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants