mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-09 00:34:10 -04:00
fixes: some wrong comments
This commit is contained in:
parent
30c7df5cd8
commit
8c8a9f850b
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue