Skip to content

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