Fix connecting to the wrong url (#9329)
This commit is contained in:
parent
55fa78c600
commit
d7afebf7e6
|
|
@ -29,6 +29,7 @@ func newClient(baseURL, namespace, bearerToken string, timeout time.Duration, tl
|
||||||
CertFile: tlsConfig.TLSCert,
|
CertFile: tlsConfig.TLSCert,
|
||||||
KeyFile: tlsConfig.TLSKey,
|
KeyFile: tlsConfig.TLSKey,
|
||||||
},
|
},
|
||||||
|
Host: baseURL,
|
||||||
BearerToken: bearerToken,
|
BearerToken: bearerToken,
|
||||||
ContentConfig: rest.ContentConfig{},
|
ContentConfig: rest.ContentConfig{},
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue