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

pull/1978/head
Amin Faez 7 months ago
parent ebe3fafeef
commit 002308db4d

@ -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)

Loading…
Cancel
Save