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 committed Dec 12, 2023
1 parent dc6490c commit d51d46e
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 d51d46e

Please sign in to comment.