mirror of
https://github.com/docker/cli.git
synced 2026-01-06 05:41:44 +03:00
internal/jsonstream: remove uses of deprecated fields
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user