From 68ab7da2aa666233b3a011a17e71bbfd53590978 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Tue, 17 Jul 2018 01:57:39 -0400 Subject: [PATCH] Set proper variable name x2 --- pvc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pvc.py b/pvc.py index 6521b49a..17152944 100755 --- a/pvc.py +++ b/pvc.py @@ -411,7 +411,7 @@ def flush_host(node, wait): if wait == True: while True: time.sleep(1) - node_state = zk_conn.get('/nodes/{}/state'.format(node))[0].decode('ascii') + node_state = zk_conn.get('/nodes/{}/domainstate'.format(node))[0].decode('ascii') if node_state == "flushed": break