mirror of
https://github.com/containers/podman.git
synced 2026-10-27 12:19:37 -04:00
Docker compat build api - make sure only one line appears per flush
Closes #16360 Signed-off-by: Jake Torrance <jake.torrance@oracle.com> Signed-off-by: Jake Torrance <jaket1234@hotmail.com>
This commit is contained in:
1 parent
d319860bcf
commit
cdb00332da
1 file changed
+1
@@ -804,6 +804,7 @@ func BuildImage(w http.ResponseWriter, r *http.Request) {
|
||||
if err := enc.Encode(m); err != nil {
|
||||
logrus.Warnf("failed to json encode error %v", err)
|
||||
}
|
||||
flush()
|
||||
m.Aux = nil
|
||||
m.Stream = fmt.Sprintf("Successfully built %12.12s\n", imageID)
|
||||
if err := enc.Encode(m); err != nil {
|
||||
|
||||
Reference in new issue
Block a user