mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 04:31:28 +00:00
fix display on test
This commit is contained in:
@@ -60,7 +60,11 @@ func (sf *StreamFormatter) FormatProgress(id, action string, progress *JSONProgr
|
||||
}
|
||||
return b
|
||||
}
|
||||
return []byte(action + " " + progress.String() + "\r")
|
||||
endl := "\r"
|
||||
if progress.String() == "" {
|
||||
endl += "\n"
|
||||
}
|
||||
return []byte(action + " " + progress.String() + endl)
|
||||
}
|
||||
|
||||
func (sf *StreamFormatter) Used() bool {
|
||||
|
||||
Reference in New Issue
Block a user