mirror of https://github.com/docker/cli.git
Merge pull request #2883 from elboulangero/fix-container-creation-time-in-tests
Fix container creation time in test/builders
This commit is contained in:
commit
1f0dff6752
|
@ -17,7 +17,7 @@ func Container(name string, builders ...func(container *types.Container)) *types
|
||||||
Command: "top",
|
Command: "top",
|
||||||
Image: "busybox:latest",
|
Image: "busybox:latest",
|
||||||
Status: "Up 1 second",
|
Status: "Up 1 second",
|
||||||
Created: time.Now().UnixNano(),
|
Created: time.Now().Unix(),
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, builder := range builders {
|
for _, builder := range builders {
|
||||||
|
|
Loading…
Reference in New Issue