Skip to content

Commit

Permalink
Update pkg/test/case.go
Browse files Browse the repository at this point in the history
Signed-off-by: Shawn O'Dell <sodell@gmail.com>
  • Loading branch information
so-jelly committed Jun 21, 2023
1 parent 57a72e0 commit fb20595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/test/case.go
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ func (t *Case) determineNamespace() *namespace {
ns.AutoCreated = true
}

if _, ok := os.LookupEnv("NAMESPACE"); ok { // user can supply this environment variable
if _, ok := os.LookupEnv("NAMESPACE"); !ok { // user can supply this environment variable
os.Setenv("NAMESPACE", t.PreferredNamespace) // set this environment variable so it can be templated by other 'steps'
}
// if we have a preferred namespace, we do NOT auto-create
Expand Down

0 comments on commit fb20595

Please sign in to comment.