We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 29d89a8 + 8ed61af commit 8d8953dCopy full SHA for 8d8953d
pkg/client/config/config_test.go
@@ -81,6 +81,9 @@ var _ = Describe("Config", func() {
81
82
Context("when kubeconfig files don't exist", func() {
83
It("should fail", func() {
84
+ err := os.Unsetenv(clientcmd.RecommendedConfigPathEnvVar)
85
+ Expect(err).NotTo(HaveOccurred())
86
+
87
cfg, err := GetConfigWithContext("")
88
Expect(cfg).To(BeNil())
89
Expect(err).To(HaveOccurred())
0 commit comments