Skip to content

Commit

Permalink
fixen for reviews
Browse files Browse the repository at this point in the history
Signed-off-by: Wesley Hayutin <[email protected]>
  • Loading branch information
weshayutin committed Sep 18, 2024
1 parent 875378c commit b9a777e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/e2e/lib/backup.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func DeleteBackupRepositoryByRegex(c client.Client, namespace string, regexPatte
return fmt.Errorf("failed to get BackupRepository list: %v", err)
}

// Iterate through the BackupRepositories and delete the one that matches the regex
// Get a list of the BackupRepositories and delete the one that matches the regex
for _, repo := range backupRepos.Items {
if regex.MatchString(repo.Name) {
err := DeleteBackupRepository(c, namespace, repo.Name)
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/virt_backup_restore_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ var _ = ginkgo.Describe("VM backup and restore tests", ginkgo.Ordered, func() {
gomega.Expect(err).To(gomega.BeNil())
err = v.CreateWaitForFirstConsumerStorageClass("test-sc-wffc")
gomega.Expect(err).To(gomega.BeNil())
lib.DeleteBackupRepositoryByRegex(runTimeClientForSuiteRun, "openshift-oadp", "cirros-test.*")
lib.DeleteBackupRepositoryByRegex(runTimeClientForSuiteRun, namespace, "cirros-test.*")
gomega.Expect(err).To(gomega.BeNil())
})

Expand Down

0 comments on commit b9a777e

Please sign in to comment.