fix a error in return value

modified:   pkg/registry/rbac/validation/rule.go
pull/8/head
WanLinghao 2018-03-21 14:52:52 +08:00
parent 3e5596321e
commit f35402e515
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ func (r *StaticRoles) GetClusterRole(name string) (*rbac.ClusterRole, error) {
return clusterRole, nil
}
}
return nil, errors.New("role not found")
return nil, errors.New("clusterrole not found")
}
func (r *StaticRoles) ListRoleBindings(namespace string) ([]*rbac.RoleBinding, error) {