Skip to content

Commit

Permalink
when checking if attribute has been changed, compare attribute name w…
Browse files Browse the repository at this point in the history
…ithout shell namespace
  • Loading branch information
nahumtimerman authored and alexquali committed Oct 17, 2024
1 parent de78a64 commit fa8d40b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudshell/cp/vcenter/flows/save_restore_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)
Expand Down

0 comments on commit fa8d40b

Please sign in to comment.