move secret value "credentials" to trace log (#707)

pull/716/head
nils måsén 3 years ago committed by GitHub
parent 9b998fb751
commit cbe9ab87fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -89,7 +89,8 @@ func GetBearerHeader(challenge string, img string, err error, registryAuth strin
}
if registryAuth != "" {
logrus.WithField("credentials", registryAuth).Debug("Credentials found.")
logrus.Debug("Credentials found.")
logrus.Tracef("Credentials: %v", registryAuth)
r.Header.Add("Authorization", fmt.Sprintf("Basic %s", registryAuth))
} else {
logrus.Debug("No credentials found.")

Loading…
Cancel
Save