Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
4ce386975c
commit
700d1c12ed
@ -20,7 +20,7 @@ pub async fn new_client(registry: impl Into<String>) -> anyhow::Result<FluxRelea
|
|||||||
});
|
});
|
||||||
|
|
||||||
let channel = if registry.starts_with("https") {
|
let channel = if registry.starts_with("https") {
|
||||||
let tls = ClientTlsConfig::new();
|
let tls = ClientTlsConfig::new().with_native_roots();
|
||||||
|
|
||||||
Channel::from_shared(registry)?
|
Channel::from_shared(registry)?
|
||||||
.tls_config(tls)?
|
.tls_config(tls)?
|
||||||
|
Loading…
Reference in New Issue
Block a user