summaryrefslogtreecommitdiff
path: root/integration/volume
diff options
context:
space:
mode:
authorSebastiaan van Stijn <github@gone.nl>2019-06-06 13:00:37 +0200
committerSebastiaan van Stijn <github@gone.nl>2019-06-07 13:04:44 +0200
commitb4c46b0dac0d74fed8b8adc56cbb7f55788e4916 (patch)
tree4b92e321eab6290ad37855e3d712acd10d441f45 /integration/volume
parentcaec45a37faf351afc82cb6228ea2e2b48589432 (diff)
downloaddocker-b4c46b0dac0d74fed8b8adc56cbb7f55788e4916.tar.gz
integration: change container.Create signature to fix linting
``` Line 25: warning: context.Context should be the first parameter of a function (golint) Line 44: warning: context.Context should be the first parameter of a function (golint) Line 52: warning: context.Context should be the first parameter of a function (golint) ``` Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Diffstat (limited to 'integration/volume')
-rw-r--r--integration/volume/volume_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integration/volume/volume_test.go b/integration/volume/volume_test.go
index b2ee8100a7..5c548c180c 100644
--- a/integration/volume/volume_test.go
+++ b/integration/volume/volume_test.go
@@ -64,7 +64,7 @@ func TestVolumesRemove(t *testing.T) {
prefix, slash := getPrefixAndSlashFromDaemonPlatform()
- id := container.Create(t, ctx, client, container.WithVolume(prefix+slash+"foo"))
+ id := container.Create(ctx, t, client, container.WithVolume(prefix+slash+"foo"))
c, err := client.ContainerInspect(ctx, id)
assert.NilError(t, err)