mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-11 00:10:44 +00:00
Whoops, missed these fixes in test/library/env.go.
Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user