Merge pull request #2883 from elboulangero/fix-container-creation-time-in-tests

Fix container creation time in test/builders
This commit is contained in:
Silvin Lubecki
2020-12-22 14:18:49 +01:00
committed by GitHub

View File

@ -17,7 +17,7 @@ func Container(name string, builders ...func(container *types.Container)) *types
Command: "top",
Image: "busybox:latest",
Status: "Up 1 second",
Created: time.Now().UnixNano(),
Created: time.Now().Unix(),
}
for _, builder := range builders {