From 73fdd83ee716ca5fd35815bddad96bc87e0e4546 Mon Sep 17 00:00:00 2001 From: justinsb Date: Wed, 24 Jan 2024 20:24:09 -0500 Subject: [PATCH] docker execution: trim "image up to date" lines This line was recently added to docker's output, and is not part of function execution so should be filtered. It is also breaking our tests! --- internal/fnruntime/container.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/fnruntime/container.go b/internal/fnruntime/container.go index 3c9b4cef9..3ebaf37dd 100644 --- a/internal/fnruntime/container.go +++ b/internal/fnruntime/container.go @@ -286,6 +286,7 @@ func isdockerCLIoutput(s string) bool { strings.Contains(s, ": Pull complete") || strings.Contains(s, "Digest: sha256") || strings.Contains(s, "Status: Downloaded newer image") || + strings.Contains(s, "Status: Image is up to date for") || strings.Contains(s, "Unable to find image") { return true }