Commit Graph

4 Commits (8449d9c34f9c971ceb68fbdcf59c582504f7a1e1)

Author SHA1 Message Date
Turtle Kalus 5983d58d7c
Log based on registry known-support - reduce noise on notifications (#716)
Log based on registry known-poor support of HEAD in checking container
manifest.

Some private registries do not support HEAD (E.G. GitLab Container Registry).
With the current config, this log message is causing a notification to be
sent for each container hosted in a registry lacking HEAD support.

log.Debug or log.Warning for failed HTTP HEAD-check based on registry hostname
where HEAD-check is known to fail.

For Docker Hub, a failed HEAD leading to a "regular pull" may count against a
user's call-quota whereas other registry implementations do not support HEAD,
or whose container manifest may be in a different location.
4 years ago
Sebastiaan Tammer 7052346570
Added --trace flag and new log.Trace() lines for sensitive information (#541) 5 years ago
Sebastiaan Tammer b34a2f968d
Removed all potential debug password prints, both plaintext and encoded (#537) 5 years ago
Simon Aronsson d1abce889a refactor: extract code from the container package 5 years ago