Merge pull request #98747 from lauchokyip/fixtypo

Fixed typo in create_priorityclass
This commit is contained in:
Kubernetes Prow Robot 2021-02-04 15:55:25 -08:00 committed by GitHub
commit 861ef46f64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -181,7 +181,7 @@ func (o *PriorityClassOptions) Run() error {
var err error
priorityClass, err = o.Client.PriorityClasses().Create(context.TODO(), priorityClass, createOptions)
if err != nil {
return fmt.Errorf("failed to create clusterrolebinding: %v", err)
return fmt.Errorf("failed to create priorityclass: %v", err)
}
}