Skip to content

Commit 1249cac

Browse files
committed
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! Signed-off-by: justinsb <[email protected]>
1 parent 2fabe98 commit 1249cac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/fnruntime/container.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ func isdockerCLIoutput(s string) bool {
286286
strings.Contains(s, ": Pull complete") ||
287287
strings.Contains(s, "Digest: sha256") ||
288288
strings.Contains(s, "Status: Downloaded newer image") ||
289+
strings.Contains(s, "Status: Image is up to date for") ||
289290
strings.Contains(s, "Unable to find image") {
290291
return true
291292
}

0 commit comments

Comments
 (0)