aboutsummaryrefslogtreecommitdiff
path: root/src/cert_store.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cert_store.rs')
-rw-r--r--src/cert_store.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cert_store.rs b/src/cert_store.rs
index bc05d1b..ced9966 100644
--- a/src/cert_store.rs
+++ b/src/cert_store.rs
@@ -232,6 +232,7 @@ impl CertStore {
.kv_put_json(&format!("certs/{}", domain), &certser)
.await?;
self.consul.release(&lock_path, "".into(), &session).await?;
+ self.consul.kv_delete(&lock_path).await?;
let cert = Arc::new(Cert::new(certser)?);
self.certs