Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -143,7 +143,7 @@ func newTLSAPIClient(host, cacertPath, certPath, keyPath string) (client.APIClie |
| 143 | 143 |
} |
| 144 | 144 |
return client.NewClientWithOpts( |
| 145 | 145 |
client.WithTLSClientConfig(cacertPath, certPath, keyPath), |
| 146 |
- client.WithDialer(dialer), |
|
| 146 |
+ client.WithDialContext(dialer.DialContext), |
|
| 147 | 147 |
client.WithHost(host)) |
| 148 | 148 |
} |
| 149 | 149 |
|