Skip to content

Commit

Permalink
remove k8s service host var in test
Browse files Browse the repository at this point in the history
  • Loading branch information
gauron99 committed Jan 10, 2024
1 parent ba901e4 commit b1d1005
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/root_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,8 @@ func fromTempDirectory(t *testing.T) string {
// By default unit tests presum no config exists unless provided in testdata.
t.Setenv("XDG_CONFIG_HOME", t.TempDir())

t.Setenv("KUBERNETES_SERVICE_HOST", "")

// creates and CDs to a temp directory
d, done := Mktemp(t)

Expand Down

0 comments on commit b1d1005

Please sign in to comment.