Skip to content

Commit

Permalink
renamed env var in unit test to new name
Browse files Browse the repository at this point in the history
  • Loading branch information
ewoodthomas committed Mar 6, 2025
1 parent 2ba6cf8 commit 1a19a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/kubernetes/kubelet/kubelet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ func (suite *KubeletTestSuite) TestGetNodenameStatsSummary() {
mockConfig.SetWithoutSource("kubernetes_https_kubelet_port", -1)
mockConfig.SetWithoutSource("kubelet_tls_verify", false)
mockConfig.SetWithoutSource("kubelet_auth_token_path", "")
mockConfig.SetWithoutSource("gke_autopilot", true)
mockConfig.SetWithoutSource("kubelet_use_api_server", true)

os.Setenv("KUBERNETES_SERVICE_HOST", "10.0.0.1")
os.Setenv("KUBERNETES_SERVICE_PORT", "443")
Expand Down

0 comments on commit 1a19a1b

Please sign in to comment.