Skip to content

Commit 1ba62a2

Browse files
committed
Log when configuring git for certificate
1 parent 334e3df commit 1ba62a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

go/extractor/util/registryproxy.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ func getEnvVars() []string {
120120

121121
if len(git_sources) > 0 {
122122
if proxy_cert_file != "" {
123+
slog.Info("Configuring `git` to use proxy certificate", slog.String("path", proxy_cert_file))
123124
cmd := exec.Command("git", "config", "--global", "http.sslCAInfo", proxy_cert_file)
124125

125126
out, cmdErr := cmd.CombinedOutput()

0 commit comments

Comments
 (0)