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

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)
}
}