mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-05 04:55:22 +00:00
Fix Test_prepareBackupRequest_BackupStorageLocation UT failure.
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
This commit is contained in:
1
changelogs/unreleased/5394-blackpiglet
Normal file
1
changelogs/unreleased/5394-blackpiglet
Normal file
@@ -0,0 +1 @@
|
||||
Fix Test_prepareBackupRequest_BackupStorageLocation UT failure.
|
||||
@@ -382,7 +382,7 @@ func Test_prepareBackupRequest_BackupStorageLocation(t *testing.T) {
|
||||
test.backup.Spec.StorageLocation = test.backupLocationNameInBackup
|
||||
|
||||
// Run
|
||||
res := c.prepareBackupRequest(test.backup)
|
||||
res := c.prepareBackupRequest(test.backup, logger)
|
||||
|
||||
// Assert
|
||||
if test.expectedSuccess {
|
||||
|
||||
Reference in New Issue
Block a user