diff options
author | Alex Auvolat <alex@adnab.me> | 2021-12-08 13:28:07 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-12-08 13:28:07 +0100 |
commit | c49b2075a30460a319ce53da300e4943d45d5add (patch) | |
tree | 2c9e146b89873f1b79e2a7397c567e1e82299b34 /src/cert_store.rs | |
parent | 35b46e64e7c9a176aeadb5815a609847bb237bb3 (diff) | |
download | tricot-c49b2075a30460a319ce53da300e4943d45d5add.tar.gz tricot-c49b2075a30460a319ce53da300e4943d45d5add.zip |
Try to fix things
Diffstat (limited to 'src/cert_store.rs')
-rw-r--r-- | src/cert_store.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cert_store.rs b/src/cert_store.rs index 2834795..6cc3ea9 100644 --- a/src/cert_store.rs +++ b/src/cert_store.rs @@ -25,7 +25,11 @@ pub struct CertStore { } impl CertStore { - pub fn new(consul: Consul, rx_proxy_config: watch::Receiver<Arc<ProxyConfig>>, letsencrypt_email: String) -> Arc<Self> { + pub fn new( + consul: Consul, + rx_proxy_config: watch::Receiver<Arc<ProxyConfig>>, + letsencrypt_email: String, + ) -> Arc<Self> { Arc::new(Self { consul, certs: RwLock::new(HashMap::new()), |