From 78aa13e619c4181adf9c72973172853e246e6857 Mon Sep 17 00:00:00 2001 From: Martin Cross Date: Mon, 4 Dec 2023 12:28:07 +0000 Subject: [PATCH] Add container name to new image found log, useful when running monitor-only --- pkg/container/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/container/client.go b/pkg/container/client.go index c6c37de..9485964 100644 --- a/pkg/container/client.go +++ b/pkg/container/client.go @@ -343,7 +343,7 @@ func (client dockerClient) HasNewImage(ctx context.Context, container t.Containe 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 }