mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 04:52:08 +00:00
clear env var check for unit test
This commit is contained in:
parent
6485584fca
commit
49529a0aa5
@ -66,6 +66,7 @@ func (test currentContextTest) run(t *testing.T) {
|
|||||||
|
|
||||||
pathOptions := NewDefaultPathOptions()
|
pathOptions := NewDefaultPathOptions()
|
||||||
pathOptions.GlobalFile = fakeKubeFile.Name()
|
pathOptions.GlobalFile = fakeKubeFile.Name()
|
||||||
|
pathOptions.EnvVar = ""
|
||||||
options := CurrentContextOptions{
|
options := CurrentContextOptions{
|
||||||
ConfigAccess: pathOptions,
|
ConfigAccess: pathOptions,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user