Merge pull request #17434 from little-arhat/fix/newlines-in-json-status
Add newlines to FormatProgress for JSON as well Upstream-commit: 53556183c7649480852d13d168a28dcfe92ac7f1 Component: engine
This commit is contained in:
@ -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() == "" {
|
||||
|
||||
Reference in New Issue
Block a user