Browse code

integration: get tests to compile again

Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit a2812895154da7a32a1b24a0535b5cba4088eb89)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Tibor Vass authored on 2019/06/13 05:41:36
Showing 1 changed files
... ...
@@ -86,12 +86,12 @@ func TestDockerNetworkReConnect(t *testing.T) {
86 86
 	ctx := context.Background()
87 87
 
88 88
 	name := t.Name() + "dummyNet"
89
-	net.CreateNoError(t, ctx, client, name,
89
+	net.CreateNoError(ctx, t, client, name,
90 90
 		net.WithDriver("overlay"),
91 91
 		net.WithAttachable(),
92 92
 	)
93 93
 
94
-	c1 := container.Create(t, ctx, client, func(c *container.TestContainerConfig) {
94
+	c1 := container.Create(ctx, t, client, func(c *container.TestContainerConfig) {
95 95
 		c.NetworkingConfig = &network.NetworkingConfig{
96 96
 			EndpointsConfig: map[string]*network.EndpointSettings{
97 97
 				name: {},