add callback for getContainerIp (#2851)

* add callback for getContainerIp

* register callback before retrieving info

* version bump; only use backports for linux
This commit is contained in:
Aiden McClelland
2025-03-20 15:54:05 -06:00
committed by GitHub
parent 05162ca350
commit 9e63f3f7c6
69 changed files with 592 additions and 262 deletions

View File

@@ -74,7 +74,8 @@ impl<'a> async_acme::cache::AcmeCache for AcmeCertCache<'a> {
.as_accounts_mut()
.insert(&contacts, &Pem::new(key))
})
.await?;
.await
.result?;
Ok(())
}
@@ -166,7 +167,8 @@ impl<'a> async_acme::cache::AcmeCache for AcmeCertCache<'a> {
.upsert(&directory_url, || Ok(BTreeMap::new()))?
.insert(&identifiers, &cert)
})
.await?;
.await
.result?;
Ok(())
}
@@ -259,7 +261,8 @@ pub async fn init(
.as_acme_mut()
.insert(&provider, &AcmeSettings { contact })
})
.await?;
.await
.result?;
Ok(())
}
@@ -280,6 +283,7 @@ pub async fn remove(
.as_acme_mut()
.remove(&provider)
})
.await?;
.await
.result?;
Ok(())
}