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

pull/1870/head
Martin Cross 12 months ago
parent 01fd38b3a9
commit 78aa13e619

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

Loading…
Cancel
Save