• Kubernetes Submit Queue's avatar
    Merge pull request #55856 from miaoyq/replace-for-with-sets · 88cfcb45
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 53689, 56880, 55856, 59289, 60249). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    Use `sets` instead of `for` statement in "IsValidAuthorizationMode"
    
    **What this PR does / why we need it**:
    Use `sets` instead of `for` statement in "IsValidAuthorizationMode", that will make the code more clearly and concisely.
    
    **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 #
    
    **Special notes for your reviewer**:
    
    **Release note**:
    
    ```release-note
    none
    ```
    88cfcb45
Name
Last commit
Last update
..
admission Loading commit data...
authenticator Loading commit data...
authorizer Loading commit data...
options Loading commit data...
server Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
default_storage_factory_builder.go Loading commit data...
doc.go Loading commit data...