Use coordinators list like node daemon

This commit is contained in:
2019-07-06 02:35:37 -04:00
parent e6012965f1
commit 837b47c366
3 changed files with 51 additions and 50 deletions

View File

@ -50,7 +50,7 @@ except Exception as e:
try:
# Create the config object
config = {
'zookeeper_uri': o_config['pvc']['zookeeper']['uri'],
'coordinators': o_config['pvc']['coordinators'],
'listen_address': o_config['pvc']['api']['listen_address'],
'listen_port': int(o_config['pvc']['api']['listen_port']),
'authentication_key': o_config['pvc']['api']['authentication']['key']