1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #17434 from little-arhat/fix/newlines-in-json-status

Add newlines to FormatProgress for JSON as well
This commit is contained in:
Michael Crosby 2015-11-17 15:52:31 -08:00
commit 53556183c7

View file

@ -83,7 +83,7 @@ func (sf *StreamFormatter) FormatProgress(id, action string, progress *jsonmessa
if err != nil {
return nil
}
return b
return append(b, streamNewlineBytes...)
}
endl := "\r"
if progress.String() == "" {