Whoops, missed these fixes in test/library/env.go.
Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
parent
7146cb3880
commit
274e6281a8
@ -97,11 +97,11 @@ func (e *TestEnv) InjectProxyEnvIntoKubeconfig(kubeconfigYAML string) string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
newYAML, err := clientcmd.Write(*kubeconfig)
|
newYAML, err := clientcmd.Write(*kubeconfig)
|
||||||
require.NoError(t, err)
|
require.NoError(e.t, err)
|
||||||
return string(newYAML)
|
return string(newYAML)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (e *TestEnv) proxyVars() map[string] {
|
func (e *TestEnv) proxyVars() map[string]string {
|
||||||
if e.Proxy == "" {
|
if e.Proxy == "" {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user