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:
commit
53556183c7
1 changed files with 1 additions and 1 deletions
|
@ -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() == "" {
|
||||
|
|
Loading…
Add table
Reference in a new issue