Skip to content

Commit

Permalink
gc actions
Browse files Browse the repository at this point in the history
  • Loading branch information
samirtahir91 committed Mar 22, 2024
1 parent 02b398b commit d2342f5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions internal/controller/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,8 @@ var _ = BeforeSuite(func() {
fmt.Sprintf("1.28.3-%s-%s", runtime.GOOS, runtime.GOARCH)),
}

if err := os.Setenv("SOURCE_NAMESPACE", "default"); err != nil {
// Handle the error, such as logging it or returning it from your function
log.Log.Error(err, "Failed to set SOURCE_NAMESPACE environment variable")
return err
}
// Expect that setting the environment variable succeeds
Expect(os.Setenv("SOURCE_NAMESPACE", "default")).To(Succeed())

var err error
// cfg is defined in this file globally.
Expand Down

0 comments on commit d2342f5

Please sign in to comment.