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
|
|
@ -33,8 +33,6 @@ func TestDisplay(t *testing.T) {
|
||||||
err := enc.Encode(JSONMessage{
|
err := enc.Encode(JSONMessage{
|
||||||
Status: "Downloading",
|
Status: "Downloading",
|
||||||
ID: fmt.Sprintf("id-%d", i),
|
ID: fmt.Sprintf("id-%d", i),
|
||||||
TimeNano: time.Now().UnixNano(),
|
|
||||||
Time: time.Now().Unix(),
|
|
||||||
Progress: &JSONProgress{
|
Progress: &JSONProgress{
|
||||||
Progress: jsonstream.Progress{
|
Progress: jsonstream.Progress{
|
||||||
Current: int64(i),
|
Current: int64(i),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue