Skip to content

Commit

Permalink
backup prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
olivia-chen-github committed Aug 15, 2023
1 parent ddc83e6 commit 8acca95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/fedvolumebackup/backup/backup_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ func (bm *backupManager) buildBackupMember(volumeBackupName string, clusterMembe
CalcSizeLevel: backupTemplate.CalcSizeLevel,
},
}
backupMember.Spec.S3.Prefix = fmt.Sprintf("%s-%s", backupMember.Spec.S3.Prefix, clusterMember.K8sClusterName)
backupMember.Spec.S3.Prefix = fmt.Sprintf("%s/%s", backupMember.Spec.S3.Prefix, clusterMember.K8sClusterName)
if initialize {
backupMember.Spec.FederalVolumeBackupPhase = pingcapv1alpha1.FederalVolumeBackupInitialize
}
Expand Down

0 comments on commit 8acca95

Please sign in to comment.