mirror of https://github.com/k3s-io/k3s
fix priorityclass strategy comment
parent
a048ca888a
commit
37fb3480cf
|
@ -35,7 +35,7 @@ type priorityClassStrategy struct {
|
|||
// Strategy is the default logic that applies when creating and updating PriorityClass objects.
|
||||
var Strategy = priorityClassStrategy{legacyscheme.Scheme, names.SimpleNameGenerator}
|
||||
|
||||
// NamespaceScoped returns true because all PriorityClasses are global.
|
||||
// NamespaceScoped returns false because all PriorityClasses are global.
|
||||
func (priorityClassStrategy) NamespaceScoped() bool {
|
||||
return false
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue