Skip to content

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

Open
day112 wants to merge 1 commit into
DataDog:masterfrom
day112:omitComparisonToBoolConstant
Open

should omit comparison to bool constant, can be simplified to !q.limi…#52
day112 wants to merge 1 commit into
DataDog:masterfrom
day112:omitComparisonToBoolConstant

Conversation

@day112

@day112 day112 commented Sep 5, 2022

Copy link
Copy Markdown

…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.:


@day112 day112 left a comment

Copy link
Copy Markdown
Author

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

day112 commented Sep 5, 2022

Copy link
Copy Markdown
Author

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