integration: have container.Create call compile
For reference on why this is needed:
https://github.com/docker/engine/pull/280#issuecomment-502056661
Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit 8f4b96f19e64b96df9d8c43208cefb113715ccbf)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
diff --git a/integration/container/copy_test.go b/integration/container/copy_test.go
index 218b575..9020b80 100644
--- a/integration/container/copy_test.go
+++ b/integration/container/copy_test.go
@@ -105,7 +105,7 @@
assert.NilError(t, err)
assert.Assert(t, imageID != "")
- cid := container.Create(ctx, t, apiClient, container.WithImage(imageID))
+ cid := container.Create(t, ctx, apiClient, container.WithImage(imageID))
for _, x := range []struct {
src string