Modify how the restore workflow using the resource name.

The restore workflow used name represents the backup resource and the
restore to be restored, but the restored resource name may be different
from the backup one, e.g. PV and VSC are global resources, to avoid
conflict, need to rename them.
Reanme the name variable to backupResourceName, and use obj.GetName()
for restore operation.

Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
This commit is contained in:
Xun Jiang
2025-03-20 18:42:09 +08:00
parent 0d27d5258f
commit 1652e6b27f
2 changed files with 64 additions and 68 deletions
+1
View File
@@ -0,0 +1 @@
Refactor restoreItem and related functions to differentiate the backup resource name and the restore target resource name.