storage_scheduling: retry operation as intended

Fixes #72163
pull/58/head
Richard Kojedzinszky 2018-12-18 20:30:17 +01:00
parent 4980e10802
commit 8916bfabab
1 changed files with 1 additions and 1 deletions

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