mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-05 08:25:40 +00: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:
parent
d319860bcf
commit
cdb00332da
1 changed files with 1 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue