* fix: avoid triggering %!/(MISSING) for docker output

* fix: suppress --platform for empty platform

Co-authored-by: Josh Soref <[email protected]>
This commit is contained in:
Josh SorefandJosh Soref authored and GitHub committed 2021-11-03 11:47:09 -07:00
1 parent aad724c87a
commit 7c73531008
2 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -116,7 +116,7 @@ func logDockerResponse(logger logrus.FieldLogger, dockerResponse io.ReadCloser,
writeLog(logger, isError, "%s :: %s\n", msg.Status, msg.ID)
}
} else if msg.Stream != "" {
writeLog(logger, isError, msg.Stream)
writeLog(logger, isError, "%s", msg.Stream)
} else {
writeLog(logger, false, "Unable to handle line: %s", string(line))
}