diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2021-12-13 14:54:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-13 14:54:03 -0500 |
commit | 4543fd463e3d02aea42f1a5b6ed0d2ed190de655 (patch) | |
tree | 5b9effef5151fa2974aba30a1aee06ec26872f98 /pkg/api/handlers | |
parent | b6ce7e19ec45c8bfd95356e03eb55090213887b4 (diff) | |
parent | 81a0a79844f952877f23dca680513dcd54d41c6d (diff) | |
download | podman-4543fd463e3d02aea42f1a5b6ed0d2ed190de655.tar.gz podman-4543fd463e3d02aea42f1a5b6ed0d2ed190de655.tar.bz2 podman-4543fd463e3d02aea42f1a5b6ed0d2ed190de655.zip |
Merge pull request #12571 from vrothberg/fix-12566
compat build: adhere to q/quiet
Diffstat (limited to 'pkg/api/handlers')
-rw-r--r-- | pkg/api/handlers/compat/images_build.go | 2 |
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) |