Skip to content

Commit

Permalink
only hardcode SYSTEM_NAMESPACE if not set (#1655)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaikas authored Aug 27, 2020
1 parent 34838c4 commit 67d950c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions system/testing/names.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@ import (
)

func init() {
if ns := os.Getenv(system.NamespaceEnvKey); ns != "" {
return
}
os.Setenv(system.NamespaceEnvKey, "knative-testing")
}

0 comments on commit 67d950c

Please sign in to comment.