mirror of
https://github.com/containrrr/watchtower.git
synced 2026-01-29 12:16:09 +01:00
fix: remove logging of credentials
This commit is contained in:
parent
c16ac967c5
commit
4a09d028df
4 changed files with 19 additions and 12 deletions
|
|
@ -91,7 +91,8 @@ func GetBearerHeader(challenge string, img string, registryAuth string) (string,
|
|||
|
||||
if registryAuth != "" {
|
||||
logrus.Debug("Credentials found.")
|
||||
logrus.Tracef("Credentials: %v", registryAuth)
|
||||
// CREDENTIAL: Uncomment to log registry credentials
|
||||
// logrus.Tracef("Credentials: %v", registryAuth)
|
||||
r.Header.Add("Authorization", fmt.Sprintf("Basic %s", registryAuth))
|
||||
} else {
|
||||
logrus.Debug("No credentials found.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue