Whoops, missed these fixes in test/library/env.go.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
Matt Moyer 2021-03-04 15:21:17 -06:00
parent 7146cb3880
commit 274e6281a8
No known key found for this signature in database
GPG Key ID: EAE88AD172C5AE2D

View File

@ -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
} }