From ec38125e9f96d7eae61a8762daf9719b20f52386 Mon Sep 17 00:00:00 2001 From: Michel Rouly Date: Tue, 6 Jun 2023 07:40:06 -0400 Subject: [PATCH] Test placeholder based on complete image. --- engine/podwatcher/watcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/podwatcher/watcher.go b/engine/podwatcher/watcher.go index 4b66f0f..ba93104 100644 --- a/engine/podwatcher/watcher.go +++ b/engine/podwatcher/watcher.go @@ -175,7 +175,7 @@ func (pw *PodWatcher) updateContainers(containers []containerInfo) { continue } - isPlaceholder := image.Match(cs.image, c.placeholder) + isPlaceholder := image.MatchTag(cs.image, c.placeholder) // A running container with placeholder image (that we track, so present in pw.containerMap) // usually means that Kubernetes is downloading the real step image in background.