From a8c70aadd1e96f1d6e118c21779f83253f660ae9 Mon Sep 17 00:00:00 2001 From: Richard Kojedzinszky Date: Tue, 18 Dec 2018 20:30:17 +0100 Subject: [PATCH] storage_scheduling: retry operation as intended Fixes #72163 --- pkg/registry/scheduling/rest/storage_scheduling.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/registry/scheduling/rest/storage_scheduling.go b/pkg/registry/scheduling/rest/storage_scheduling.go index ed291b32c65..cdbfb9e2be9 100644 --- a/pkg/registry/scheduling/rest/storage_scheduling.go +++ b/pkg/registry/scheduling/rest/storage_scheduling.go @@ -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 } } }