mirror of
https://github.com/lxc/incus.git
synced 2026-02-05 09:46:19 +01:00
client: fix cast to http.Transport when using TransportWrapper
Signed-off-by: Sebastiao Pamplona <sebastiaodsrp@gmail.com>
This commit is contained in:
committed by
Stéphane Graber
parent
1e882f91a2
commit
4a6d84e30c
@@ -49,7 +49,7 @@ type ConnectionArgs struct {
|
||||
HTTPClient *http.Client
|
||||
|
||||
// TransportWrapper wraps the *http.Transport set by lxd
|
||||
TransportWrapper func(*http.Transport) http.RoundTripper
|
||||
TransportWrapper func(*http.Transport) HTTPTransporter
|
||||
|
||||
// Controls whether a client verifies the server's certificate chain and host name.
|
||||
InsecureSkipVerify bool
|
||||
|
||||
Reference in New Issue
Block a user