Commit fad8b456 authored by Cao Shufeng's avatar Cao Shufeng

[trivial]fix function name in comment

parent 475f175e
......@@ -48,7 +48,7 @@ type NodeAuthorizer struct {
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 {
return &NodeAuthorizer{
graph: graph,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment