mirror of https://github.com/docker/cli.git
internal/jsonstream: remove uses of deprecated fields
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
1df8feb2e4
commit
045ac0b159
|
|
@ -31,10 +31,8 @@ func TestDisplay(t *testing.T) {
|
|||
return
|
||||
default:
|
||||
err := enc.Encode(JSONMessage{
|
||||
Status: "Downloading",
|
||||
ID: fmt.Sprintf("id-%d", i),
|
||||
TimeNano: time.Now().UnixNano(),
|
||||
Time: time.Now().Unix(),
|
||||
Status: "Downloading",
|
||||
ID: fmt.Sprintf("id-%d", i),
|
||||
Progress: &JSONProgress{
|
||||
Progress: jsonstream.Progress{
|
||||
Current: int64(i),
|
||||
|
|
|
|||
Loading…
Reference in New Issue