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

Make golangci-lint 1.62.0 happy #2785

Merged
merged 4 commits into from
Nov 12, 2024
Merged

Make golangci-lint 1.62.0 happy #2785

merged 4 commits into from
Nov 12, 2024

Conversation

eljobe
Copy link
Member

@eljobe eljobe commented Nov 12, 2024

The linter learned how to find missing checks for safe typecasts and we had some spots where they weren't being checked.

The linter learned how to find missing checks for safe typecasts and we had some
spots where they weren't being checked.
@cla-bot cla-bot bot added the s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA. label Nov 12, 2024
Copy link
Contributor

@ganeshvanahalli ganeshvanahalli left a comment

Choose a reason for hiding this comment

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

LGTM

Tristan-Wilson
Tristan-Wilson previously approved these changes Nov 12, 2024
Copy link
Collaborator

@PlasmaPower PlasmaPower left a comment

Choose a reason for hiding this comment

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

I've reviewed the non-test code but I think we should try to simplify the checks in test code further to avoid extra lines of code and complexity

util/containers/syncmap.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@PlasmaPower PlasmaPower left a comment

Choose a reason for hiding this comment

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

LGTM

@PlasmaPower PlasmaPower merged commit 9ad3707 into master Nov 12, 2024
16 checks passed
@PlasmaPower PlasmaPower deleted the lint-type-checks branch November 12, 2024 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design-approved s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants