[trivial]fix function name in comment

This commit is contained in:
Cao Shufeng 2017-06-23 17:53:35 +08:00
parent 475f175e68
commit fad8b45667

View File

@ -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,