mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Fixed typo in create_priorityclass
This commit is contained in:
parent
bff6452893
commit
2edbea60a5
@ -181,7 +181,7 @@ func (o *PriorityClassOptions) Run() error {
|
|||||||
var err error
|
var err error
|
||||||
priorityClass, err = o.Client.PriorityClasses().Create(context.TODO(), priorityClass, createOptions)
|
priorityClass, err = o.Client.PriorityClasses().Create(context.TODO(), priorityClass, createOptions)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("failed to create clusterrolebinding: %v", err)
|
return fmt.Errorf("failed to create priorityclass: %v", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user