mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-21 01:26:28 +00:00
fix priorityclass strategy comment
This commit is contained in:
parent
a048ca888a
commit
37fb3480cf
@ -35,7 +35,7 @@ type priorityClassStrategy struct {
|
|||||||
// Strategy is the default logic that applies when creating and updating PriorityClass objects.
|
// Strategy is the default logic that applies when creating and updating PriorityClass objects.
|
||||||
var Strategy = priorityClassStrategy{legacyscheme.Scheme, names.SimpleNameGenerator}
|
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 {
|
func (priorityClassStrategy) NamespaceScoped() bool {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user