Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
065b0c5847
commit
4ce386975c
@ -10,6 +10,7 @@ pub type FluxReleaserGrpcClient = Arc<Mutex<FluxReleaserClient<Channel>>>;
|
|||||||
pub async fn new_client(registry: impl Into<String>) -> anyhow::Result<FluxReleaserGrpcClient> {
|
pub async fn new_client(registry: impl Into<String>) -> anyhow::Result<FluxReleaserGrpcClient> {
|
||||||
let registry: String = registry.into();
|
let registry: String = registry.into();
|
||||||
|
|
||||||
|
// Workaround: https://github.com/algesten/ureq/issues/765#issuecomment-2282921492
|
||||||
static INIT: std::sync::Once = std::sync::Once::new();
|
static INIT: std::sync::Once = std::sync::Once::new();
|
||||||
|
|
||||||
INIT.call_once(|| {
|
INIT.call_once(|| {
|
||||||
|
Loading…
Reference in New Issue
Block a user