mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-05 21:21:42 +00:00
fix progress message in client
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user