From 90ec76cc902c389e788790c0c9d9496bcd02082f Mon Sep 17 00:00:00 2001 From: Michael McCracken Date: Thu, 2 Oct 2025 11:51:05 -0700 Subject: [PATCH] fix: do not log found creds we really shouldn't log the content of credentials Signed-off-by: Michael McCracken --- pkg/stacker/network.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/stacker/network.go b/pkg/stacker/network.go index 5737dcac..60dc89fd 100644 --- a/pkg/stacker/network.go +++ b/pkg/stacker/network.go @@ -92,7 +92,7 @@ func Download(cacheDir string, remoteUrl string, progress bool, expectedHash, re if err != nil { log.Infof("credentials not found for host %s - reason:%s continuing without creds", u.Host, err) } - log.Infof("found creds for key %q: %+v", key, creds) + log.Debugf("found creds for key %q", key) request.SetBasicAuth(creds.Username, creds.Password) client := &http.Client{}