From 274e6281a8f20ea1ee7cfbfe08dbae0f3bb8e4cc Mon Sep 17 00:00:00 2001 From: Matt Moyer Date: Thu, 4 Mar 2021 15:21:17 -0600 Subject: [PATCH] Whoops, missed these fixes in test/library/env.go. Signed-off-by: Matt Moyer --- test/library/env.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }