Correct typo in flush_lock write
This commit is contained in:
parent
e1c53c40a6
commit
9d8c886811
|
@ -323,7 +323,7 @@ class NodeInstance(object):
|
||||||
|
|
||||||
# Acquire the flush lock
|
# Acquire the flush lock
|
||||||
zkhandler.writedata(self.zk_conn, {
|
zkhandler.writedata(self.zk_conn, {
|
||||||
'/locks/flush_lock'.format(node): 'True'
|
'/locks/flush_lock': 'True'
|
||||||
})
|
})
|
||||||
|
|
||||||
# Begin flush
|
# Begin flush
|
||||||
|
@ -360,7 +360,7 @@ class NodeInstance(object):
|
||||||
|
|
||||||
# Release the flush lock
|
# Release the flush lock
|
||||||
zkhandler.writedata(self.zk_conn, {
|
zkhandler.writedata(self.zk_conn, {
|
||||||
'/locks/flush_lock'.format(node): 'False'
|
'/locks/flush_lock': 'False'
|
||||||
})
|
})
|
||||||
|
|
||||||
def unflush(self):
|
def unflush(self):
|
||||||
|
|
Loading…
Reference in New Issue