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

fix progress message in client

This commit is contained in:
Victor Vieux 2013-06-04 16:09:08 +00:00
parent 10ef4f7f39
commit 3922691fb9
4 changed files with 6 additions and 6 deletions

View file

@ -608,7 +608,7 @@ func (sf *StreamFormatter) FormatError(err error) []byte {
func (sf *StreamFormatter) FormatProgress(action, str string) []byte {
sf.used = true
if sf.json {
b, err := json.Marshal(&JsonMessage{Progress:str})
b, err := json.Marshal(&JsonMessage{Status: action, Progress:str})
if err != nil {
return nil
}