kube-state-metrics
kube-state-metrics copied to clipboard
Clean up `select {}`
What this PR does / why we need it:
How does this change affect the cardinality of KSM: (increases, decreases or does not change cardinality) N/A
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: CatherineF-dev Once this PR has been reviewed and has the lgtm label, please assign mrueg for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
cc @mrueg to review.
Does this select {} have some special purposes?
/assign @rexagod /triage accepted
AFAIK the select here is used to block similar to an infinite for loop.
Yep, closing.