diff --git a/pkg/registry/registry.go b/pkg/registry/registry.go index 2d7b9a8..6bc9604 100644 --- a/pkg/registry/registry.go +++ b/pkg/registry/registry.go @@ -13,10 +13,10 @@ func GetPullOptions(imageName string) (types.ImagePullOptions, error) { return types.ImagePullOptions{}, err } - log.Debugf("Got auth value: %s", auth) if auth == "" { return types.ImagePullOptions{}, nil } + log.Debugf("Got auth value") return types.ImagePullOptions{ RegistryAuth: auth, diff --git a/pkg/registry/trust.go b/pkg/registry/trust.go index 7403d46..c7cc68d 100644 --- a/pkg/registry/trust.go +++ b/pkg/registry/trust.go @@ -36,7 +36,7 @@ func EncodedEnvAuth(ref string) (string, error) { Username: username, Password: password, } - log.Debugf("Loaded auth credentials %s for %s", auth, ref) + log.Debugf("Loaded auth credentials for user %s on registry %s", auth.Username, ref) return EncodeAuth(auth) } return "", errors.New("Registry auth environment variables (REPO_USER, REPO_PASS) not set") @@ -68,7 +68,7 @@ func EncodedConfigAuth(ref string) (string, error) { log.Debugf("No credentials for %s in %s", server, configFile.Filename) return "", nil } - log.Debugf("Loaded auth credentials %s from %s", auth, configFile.Filename) + log.Debugf("Loaded auth credentials for user %s, on registry %s, from file %s", auth.Username, ref, configFile.Filename) return EncodeAuth(auth) }