Merge pull request #6533 from Lyndon-Li/data-mover-wrong-bsl-after-sync

Data mover wrong bsl after sync
This commit is contained in:
lyndon
2023-07-25 14:20:10 +08:00
committed by GitHub
5 changed files with 75 additions and 26 deletions
+1
View File
@@ -208,6 +208,7 @@ func (b *backupSyncReconciler) Reconcile(ctx context.Context, req ctrl.Request)
podVolumeBackup.Namespace = backup.Namespace
podVolumeBackup.ResourceVersion = ""
podVolumeBackup.Spec.BackupStorageLocation = location.Name
err = b.client.Create(ctx, podVolumeBackup, &client.CreateOptions{})
switch {