mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-21 01:50:55 +00:00
Merge pull request #62979 from wackxu/comment
fix priorityclass strategy comment
This commit is contained in:
@@ -36,7 +36,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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user