From 420bab477eaca39bf7bc542b220ec88becf622a2 Mon Sep 17 00:00:00 2001 From: Marcin Wielgus Date: Thu, 18 Aug 2016 14:48:38 +0200 Subject: [PATCH] Federated namespace controller - stop reconcilation if not in sync --- .../pkg/federation-controller/namespace/namespace_controller.go | 1 + 1 file changed, 1 insertion(+) diff --git a/federation/pkg/federation-controller/namespace/namespace_controller.go b/federation/pkg/federation-controller/namespace/namespace_controller.go index 8a91fd7a88bf3..19eb83c8d62ec 100644 --- a/federation/pkg/federation-controller/namespace/namespace_controller.go +++ b/federation/pkg/federation-controller/namespace/namespace_controller.go @@ -221,6 +221,7 @@ func (nc *NamespaceController) reconcileNamespacesOnClusterChange() { func (nc *NamespaceController) reconcileNamespace(namespace string) { if !nc.isSynced() { nc.deliverNamespace(namespace, nc.clusterAvailableDelay, false) + return } baseNamespaceObj, exist, err := nc.namespaceInformerStore.GetByKey(namespace)