This commit is contained in:
Joshua Boniface 2018-06-11 02:16:08 -04:00
parent 33b6b46935
commit 48326226da
1 changed files with 1 additions and 1 deletions

2
pvc.py
View File

@ -68,7 +68,7 @@ def flush_host(node_name):
# Verify node is valid # Verify node is valid
try: try:
zk.get('/nodes/{}'.format(node_name) zk.get('/nodes/{}'.format(node_name))
except: except:
click.echo('ERROR: No node named {} is present in the cluster.'.format(node_name)) click.echo('ERROR: No node named {} is present in the cluster.'.format(node_name))
exit(1) exit(1)