Replace deprecated client.WithDialer()
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
3587efed6b
commit
8d3feccfa9
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue