Skip to content

Commit

Permalink
Checks nil pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
kalverra committed Oct 8, 2024
1 parent fc4b806 commit 61c242b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/k8s/e2e/common/test_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ func TestConnectWithoutManifest(t *testing.T) {
existingEnv = environment.New(existingEnvConfig)
l.Info().Str("Namespace", existingEnvConfig.Namespace).Msg("Existing Env Namespace")
// deploy environment to use as an existing one for the test
require.NotNil(t, existingEnv, "existingEnv is nil")
require.NotNil(t, existingEnv.Cfg, "existingEnv.Cfg is nil %v", existingEnv)
existingEnv.Cfg.JobImage = ""
existingEnv.AddHelm(ethereum.New(nil)).
AddHelm(chainlink.New(0, map[string]any{
Expand Down

0 comments on commit 61c242b

Please sign in to comment.