Fixed typo in create_priorityclass

This commit is contained in:
Chok Yip Lau 2021-02-03 21:46:10 -05:00
parent bff6452893
commit 2edbea60a5

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