Fix wrong usage of global varaible VeleroCfg

Signed-off-by: danfengl <danfengl@vmware.com>
This commit is contained in:
danfengl
2024-02-05 08:44:51 +00:00
parent 3b8370e13c
commit b0956322b9
30 changed files with 168 additions and 182 deletions

View File

@@ -94,7 +94,7 @@ func APIGropuVersionsTest() {
}
By("Clean backups after test", func() {
DeleteAllBackups(context.Background(), *veleroCfg.ClientToInstallVelero)
DeleteAllBackups(context.Background(), &veleroCfg)
})
if InstallVelero {
By("Uninstall Velero in api group version case", func() {