Change logging level of the message relating to overwritten original image id and name

This commit is contained in:
Amin Faez 2024-05-09 17:33:30 +02:00
parent ebe3fafeef
commit 002308db4d

View file

@ -337,7 +337,7 @@ func (client dockerClient) HasNewImage(ctx context.Context, container t.Containe
imageIDSetByLabel, ok := container_info.Config.Labels[originalImageIDLabel] imageIDSetByLabel, ok := container_info.Config.Labels[originalImageIDLabel]
if ok { if ok {
currentImageID = t.ImageID(imageIDSetByLabel) currentImageID = t.ImageID(imageIDSetByLabel)
log.Infof("Original image id for %s found: (%s)", imageName, currentImageID.ShortID()) log.Debugf("Original image id for %s found: (%s)", imageName, currentImageID.ShortID())
} }
newImageInfo, _, err := client.api.ImageInspectWithRaw(ctx, imageName) newImageInfo, _, err := client.api.ImageInspectWithRaw(ctx, imageName)