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 d2342f5 commit d6c0c4c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/controller/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,11 @@ var _ = BeforeSuite(func() {
fmt.Sprintf("1.28.3-%s-%s", runtime.GOOS, runtime.GOARCH)),
}

var err error
// Expect that setting the environment variable succeeds
Expect(os.Setenv("SOURCE_NAMESPACE", "default")).To(Succeed())

var err error
Expect(err).NotTo(HaveOccurred())

Check failure on line 82 in internal/controller/suite_test.go

View workflow job for this annotation

GitHub Actions / golangci-lint

File is not `gofmt`-ed with `-s` (gofmt)
// cfg is defined in this file globally.
cfg, err = testEnv.Start()
Expect(err).NotTo(HaveOccurred())
Expand Down

0 comments on commit d6c0c4c

Please sign in to comment.