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.
1 parent 6016987 commit 8ed61afCopy full SHA for 8ed61af
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