Correct typo in flush_lock write

This commit is contained in:
Joshua Boniface 2019-05-11 00:08:07 -04:00
parent e1c53c40a6
commit 9d8c886811
1 changed files with 2 additions and 2 deletions

View File

@ -323,7 +323,7 @@ class NodeInstance(object):
# Acquire the flush lock
zkhandler.writedata(self.zk_conn, {
'/locks/flush_lock'.format(node): 'True'
'/locks/flush_lock': 'True'
})
# Begin flush
@ -360,7 +360,7 @@ class NodeInstance(object):
# Release the flush lock
zkhandler.writedata(self.zk_conn, {
'/locks/flush_lock'.format(node): 'False'
'/locks/flush_lock': 'False'
})
def unflush(self):