ソースを参照

integration: get tests to compile again

Signed-off-by: Tibor Vass <tibor@docker.com>
Tibor Vass 6 年 前
コミット
a281289515
1 ファイル変更2 行追加2 行削除
  1. 2 2
      integration/service/network_test.go

+ 2 - 2
integration/service/network_test.go

@@ -86,12 +86,12 @@ func TestDockerNetworkReConnect(t *testing.T) {
 	ctx := context.Background()
 
 	name := t.Name() + "dummyNet"
-	net.CreateNoError(t, ctx, client, name,
+	net.CreateNoError(ctx, t, client, name,
 		net.WithDriver("overlay"),
 		net.WithAttachable(),
 	)
 
-	c1 := container.Create(t, ctx, client, func(c *container.TestContainerConfig) {
+	c1 := container.Create(ctx, t, client, func(c *container.TestContainerConfig) {
 		c.NetworkingConfig = &network.NetworkingConfig{
 			EndpointsConfig: map[string]*network.EndpointSettings{
 				name: {},