Fix misuses of format based logging functions
Signed-off-by: Tõnis Tiigi <tonistiigi@gmail.com> (github: tonistiigi) Upstream-commit: 6705477673be7c303369778f6f288ee600ce3893 Component: engine
This commit is contained in:
@ -112,7 +112,7 @@ func StoreImage(img *Image, layerData archive.ArchiveReader, root string) error
|
||||
checksum := layerTarSum.Sum(nil)
|
||||
|
||||
if img.Checksum != "" && img.Checksum != checksum {
|
||||
log.Warn("image layer checksum mismatch: computed %q, expected %q", checksum, img.Checksum)
|
||||
log.Warnf("image layer checksum mismatch: computed %q, expected %q", checksum, img.Checksum)
|
||||
}
|
||||
|
||||
img.Checksum = checksum
|
||||
|
||||
Reference in New Issue
Block a user