Skip to content

Commit

Permalink
docker execution: trim "image up to date" lines
Browse files Browse the repository at this point in the history
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!
  • Loading branch information
justinsb committed Jan 25, 2024
1 parent 2fabe98 commit 73fdd83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/fnruntime/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 73fdd83

Please sign in to comment.