diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cert_store.rs | 1 |
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 |