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 0e3ab50833

View file

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