Browse Source

Replace deprecated client.WithDialer()

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 6 years ago
parent
commit
8d3feccfa9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      integration/plugin/authz/authz_plugin_test.go

+ 1 - 1
integration/plugin/authz/authz_plugin_test.go

@@ -143,7 +143,7 @@ func newTLSAPIClient(host, cacertPath, certPath, keyPath string) (client.APIClie
 	}
 	return client.NewClientWithOpts(
 		client.WithTLSClientConfig(cacertPath, certPath, keyPath),
-		client.WithDialer(dialer),
+		client.WithDialContext(dialer.DialContext),
 		client.WithHost(host))
 }