Merge pull request #242 from zalando/feature/avoid_initial_wait_for_bootstrap

Set the initialize flag to None and not False initially.
This commit is contained in:
Oleksii Kliukin
2016-07-11 16:23:58 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ class Consul(AbstractDCS):
self._cluster = Cluster(initialize, config, leader, last_leader_operation, members, failover)
except NotFound:
self._cluster = Cluster(False, None, None, None, [], None)
self._cluster = Cluster(None, None, None, None, [], None)
except:
logger.exception('get_cluster')
raise ConsulError('Consul is not responding properly')
+1 -1
View File
@@ -275,7 +275,7 @@ class Etcd(AbstractDCS):
self._cluster = Cluster(initialize, config, leader, last_leader_operation, members, failover)
except etcd.EtcdKeyNotFound:
self._cluster = Cluster(False, None, None, None, [], None)
self._cluster = Cluster(None, None, None, None, [], None)
except:
logger.exception('get_cluster')
raise EtcdError('Etcd is not responding properly')