Merge pull request #74208 from lrx0014/unittest
fixes: some wrong comments
This commit is contained in:
@@ -44,7 +44,7 @@ var _ rest.RESTCreateStrategy = Strategy
|
||||
// Strategy should implement rest.RESTUpdateStrategy
|
||||
var _ rest.RESTUpdateStrategy = Strategy
|
||||
|
||||
// NamespaceScoped is true for ClusterRoles.
|
||||
// NamespaceScoped is false for ClusterRoles.
|
||||
func (strategy) NamespaceScoped() bool {
|
||||
return false
|
||||
}
|
||||
|
@@ -44,7 +44,7 @@ var _ rest.RESTCreateStrategy = Strategy
|
||||
// Strategy should implement rest.RESTUpdateStrategy
|
||||
var _ rest.RESTUpdateStrategy = Strategy
|
||||
|
||||
// NamespaceScoped is true for ClusterRoleBindings.
|
||||
// NamespaceScoped is false for ClusterRoleBindings.
|
||||
func (strategy) NamespaceScoped() bool {
|
||||
return false
|
||||
}
|
||||
|
Reference in New Issue
Block a user