فهرست منبع

Merge pull request #38445 from thaJeztah/dont_use_deprecated_withdialer

Replace deprecated client.WithDialer()
Sebastiaan van Stijn 6 سال پیش
والد
کامیت
53bb992c3b
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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))
 }