Fixed issue #1605 regarding Cisco slots causing configs to break

This commit is contained in:
UmmmAGoodName committed 2026-03-16 19:09:32 +01:00
1 parent 6ac4c27bc1
commit 95bd76a212
4 files changed
+19 -15

No files matched your search

+3
View File
@@ -221,6 +221,9 @@ class BaseManager:
if not hasattr(destination_node, "working_dir"):
return destination_node
if hasattr(source_node, "status") and source_node.status != "stopped":
raise ComputeError("Cannot duplicate node data while the node is running")
destination_dir = destination_node.working_dir
try:
shutil.rmtree(destination_dir)