mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #47955 from CaoShuFeng/trivial
Automatic merge from submit-queue [trivial]fix function name in comment **Release note**: ``` NONE ```
This commit is contained in:
commit
9548fbd514
@ -48,7 +48,7 @@ type NodeAuthorizer struct {
|
|||||||
nodeRules []rbacapi.PolicyRule
|
nodeRules []rbacapi.PolicyRule
|
||||||
}
|
}
|
||||||
|
|
||||||
// New returns a new node authorizer
|
// NewAuthorizer returns a new node authorizer
|
||||||
func NewAuthorizer(graph *Graph, identifier nodeidentifier.NodeIdentifier, rules []rbacapi.PolicyRule) authorizer.Authorizer {
|
func NewAuthorizer(graph *Graph, identifier nodeidentifier.NodeIdentifier, rules []rbacapi.PolicyRule) authorizer.Authorizer {
|
||||||
return &NodeAuthorizer{
|
return &NodeAuthorizer{
|
||||||
graph: graph,
|
graph: graph,
|
||||||
|
Loading…
Reference in New Issue
Block a user