Skip to content

Commit fa8d40b

Browse files
nahumtimermanalexquali
authored andcommitted
when checking if attribute has been changed, compare attribute name without shell namespace
1 parent de78a64 commit fa8d40b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloudshell/cp/vcenter/flows/save_restore_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def _prepare_result(cloned_vm: VmHandler, save_action: SaveApp) -> SaveAppResult
200200
(
201201
x.attributeValue
202202
for x in save_action.actionParams.deploymentPathAttributes
203-
if x.attributeName == attr_names.copy_source_uuid
203+
if x.attributeName.rsplit(".", 1)[-1] == attr_names.copy_source_uuid
204204
),
205205
"False",
206206
)

0 commit comments

Comments
 (0)