Add check for valid zk attribute before disconnect
Change-Id: Iaecdd25c23d6524986adeb9a4edfffbbf2c014e5
This commit is contained in:
parent
6e206087df
commit
e9272a8b98
@ -1338,6 +1338,7 @@ class NodePool(threading.Thread):
|
||||
|
||||
if self.isAlive():
|
||||
self.join()
|
||||
if self.zk:
|
||||
self.zk.disconnect()
|
||||
self.log.debug("Finished stopping")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user