Use uuid4() for temporary node name while duplicating a node.

This commit is contained in:
grossmj committed 2017-07-24 15:52:14 +07:00
1 parent 0854c04687
commit 47e8392ceb
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -282,7 +282,7 @@ class BaseManager:
# We force a refresh of the name. This force the rewrite
# of some configuration files
node_name = destination_node.name
destination_node.name = node_name + "tmp"
destination_node.name = node_name + str(uuid4())
destination_node.name = node_name
return destination_node