Commit 37fb3480 authored by wackxu's avatar wackxu

fix priorityclass strategy comment

parent a048ca88
...@@ -35,7 +35,7 @@ type priorityClassStrategy struct { ...@@ -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
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment