summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2021-12-10 15:32:55 +0100
committerValentin Rothberg <rothberg@redhat.com>2021-12-13 09:52:24 +0100
commit81a0a79844f952877f23dca680513dcd54d41c6d (patch)
tree5d3a94d0c3959909d26c17b7b8015577fced24a6 /pkg
parente993b88c03e1ef822532aacdbc7e6e381143afd3 (diff)
downloadpodman-81a0a79844f952877f23dca680513dcd54d41c6d.tar.gz
podman-81a0a79844f952877f23dca680513dcd54d41c6d.tar.bz2
podman-81a0a79844f952877f23dca680513dcd54d41c6d.zip
compat build: adhere to q/quiet
Fixes: #12566 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/api/handlers/compat/images_build.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/handlers/compat/images_build.go b/pkg/api/handlers/compat/images_build.go
index f85df02e1..a665be4fb 100644
--- a/pkg/api/handlers/compat/images_build.go
+++ b/pkg/api/handlers/compat/images_build.go
@@ -655,7 +655,7 @@ func BuildImage(w http.ResponseWriter, r *http.Request) {
return
case <-runCtx.Done():
if success {
- if !utils.IsLibpodRequest(r) {
+ if !utils.IsLibpodRequest(r) && !query.Quiet {
m.Stream = fmt.Sprintf("Successfully built %12.12s\n", imageID)
if err := enc.Encode(m); err != nil {
logrus.Warnf("Failed to json encode error %v", err)