Add container name to new image found log, useful when running monitor-only

This commit is contained in:
Martin Cross 2023-12-04 12:28:07 +00:00
parent 01fd38b3a9
commit 78aa13e619

View file

@ -343,7 +343,7 @@ func (client dockerClient) HasNewImage(ctx context.Context, container t.Containe
return false, currentImageID, nil return false, currentImageID, nil
} }
log.Infof("Found new %s image (%s)", imageName, newImageID.ShortID()) log.Infof("Found new %s image (%s) for container %s", imageName, newImageID.ShortID(), container.Name())
return true, newImageID, nil return true, newImageID, nil
} }