summaryrefslogtreecommitdiff
path: root/ext/git/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'ext/git/client.go')
-rw-r--r--ext/git/client.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/git/client.go b/ext/git/client.go
index 199716b..622bcf1 100644
--- a/ext/git/client.go
+++ b/ext/git/client.go
@@ -207,7 +207,7 @@ func GetRepoHTTPClient(repoURL string, insecure bool, creds Creds, proxyURL stri
},
}
- proxyFunc := proxy.GetCallback(proxyURL)
+ proxyFunc := proxy.GetCallback(proxyURL, "")
// Callback function to return any configured client certificate
// We never return err, but an empty cert instead.
@@ -802,7 +802,7 @@ func (m *nativeGitClient) runCmdOutput(cmd *exec.Cmd, ropts runOpts) (string, er
}
}
}
- cmd.Env = proxy.UpsertEnv(cmd, m.proxy)
+ cmd.Env = proxy.UpsertEnv(cmd, m.proxy, "")
opts := executil.ExecRunOpts{
TimeoutBehavior: argoexec.TimeoutBehavior{
Signal: syscall.SIGTERM,