Merge pull request #74208 from lrx0014/unittest

fixes: some wrong comments
pull/564/head
Kubernetes Prow Robot 2019-02-18 22:45:49 -08:00 committed by GitHub
commit a887ae8344
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ type csrStrategy struct {
// CSR objects.
var Strategy = csrStrategy{legacyscheme.Scheme, names.SimpleNameGenerator}
// NamespaceScoped is true for CSRs.
// NamespaceScoped is false for CSRs.
func (csrStrategy) NamespaceScoped() bool {
return false
}

View File

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

View File

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