Unverified Commit c5fa271d authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #62979 from wackxu/comment

fix priorityclass strategy comment
parents 495ee5ea 37fb3480
...@@ -36,7 +36,7 @@ type priorityClassStrategy struct { ...@@ -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
} }
......
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