Federated namespace controller - stop reconcilation if not in sync

This commit is contained in:
Marcin Wielgus 2016-08-18 14:48:38 +02:00
parent 214c916045
commit 420bab477e

View File

@ -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)