storage_scheduling: retry operation as intended

Fixes #72163
This commit is contained in:
Richard Kojedzinszky 2018-12-18 20:30:17 +01:00
parent 870c050727
commit a8c70aadd1

View File

@ -93,7 +93,7 @@ func AddSystemPriorityClasses() genericapiserver.PostStartHookFunc {
} else {
// Unable to get the priority class for reasons other than "not found".
klog.Warningf("unable to get PriorityClass %v: %v. Retrying...", pc.Name, err)
return false, err
return false, nil
}
}
}