diff options
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()), |