diff --git a/test/library/env.go b/test/library/env.go index ba2b3b2c..d78f7d8b 100644 --- a/test/library/env.go +++ b/test/library/env.go @@ -97,11 +97,11 @@ func (e *TestEnv) InjectProxyEnvIntoKubeconfig(kubeconfigYAML string) string { } newYAML, err := clientcmd.Write(*kubeconfig) - require.NoError(t, err) + require.NoError(e.t, err) return string(newYAML) } -func (e *TestEnv) proxyVars() map[string] { +func (e *TestEnv) proxyVars() map[string]string { if e.Proxy == "" { return nil }