Fix typo bug in key rename
This commit is contained in:
parent
a2205bec13
commit
49f4feb482
|
@ -300,7 +300,7 @@ class ZKHandler(object):
|
||||||
|
|
||||||
transaction = self.zk_conn.transaction()
|
transaction = self.zk_conn.transaction()
|
||||||
|
|
||||||
def rename_element(transaction, source_path, destnation_path):
|
def rename_element(transaction, source_path, destination_path):
|
||||||
data = self.zk_conn.get(source_path)[0]
|
data = self.zk_conn.get(source_path)[0]
|
||||||
transaction.create(destination_path, data)
|
transaction.create(destination_path, data)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue