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

should omit comparison to bool constant, can be simplified to !q.limi… #52

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

Conversation

day112
Copy link

@day112 day112 commented Sep 5, 2022

…ter.TryAccept() (S1002)go-staticcheck

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?


Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


Copy link
Author

@day112 day112 left a comment

Choose a reason for hiding this comment

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

should omit comparison to bool constant, can be simplified to !q.limiter.TryAccept() (S1002)go-staticcheck

@day112
Copy link
Author

day112 commented Sep 5, 2022

should omit comparison to bool constant, can be simplified to !q.limiter.TryAccept() (S1002)go-staticcheck

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.

1 participant