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
commit 1f0dff6752
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 {