From d51d46eef394d6b87ca7e8657324b8d8cfc0bd26 Mon Sep 17 00:00:00 2001 From: "QUALISYSTEMS\\nahum-t" Date: Tue, 12 Dec 2023 10:41:19 +0200 Subject: [PATCH] when checking if attribute has been changed, compare attribute name without shell namespace --- cloudshell/cp/vcenter/flows/save_restore_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudshell/cp/vcenter/flows/save_restore_app.py b/cloudshell/cp/vcenter/flows/save_restore_app.py index a7d9ed8..c9ace66 100644 --- a/cloudshell/cp/vcenter/flows/save_restore_app.py +++ b/cloudshell/cp/vcenter/flows/save_restore_app.py @@ -200,7 +200,7 @@ def _prepare_result(cloned_vm: VmHandler, save_action: SaveApp) -> SaveAppResult ( x.attributeValue for x in save_action.actionParams.deploymentPathAttributes - if x.attributeName == attr_names.copy_source_uuid + if x.attributeName.rsplit(".", 1)[-1] == attr_names.copy_source_uuid ), "False", )