Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
samirtahir91 committed Apr 1, 2024
1 parent 70969e5 commit 17969ab
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions internal/controller/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,11 @@ var _ = BeforeSuite(func() {
fmt.Sprintf("1.28.3-%s-%s", runtime.GOOS, runtime.GOARCH)),
}

if osEnvErr := os.Setenv("CHECK_INTERVAL", "5s"); osEnvErr != nil {
return fmt.Errorf("failed to set os env var for CHECK_INTERVAL: %v", err)
}
if osEnvErr := os.Setenv("EXPIRY_THRESHOLD", "15m"); osEnvErr != nil {
return fmt.Errorf("failed to set os env var for EXPIRY_THRESHOLD: %v", err)
}
osEnvErr := os.Setenv("CHECK_INTERVAL", "5s")
Expect(osEnvErr).NotTo(HaveOccurred())

osEnvErr = os.Setenv("EXPIRY_THRESHOLD", "15m")
Expect(osEnvErr).NotTo(HaveOccurred())

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

0 comments on commit 17969ab

Please sign in to comment.