forked from Deuxfleurs/tricot
Cleanup locks
This commit is contained in:
parent
62c745898d
commit
55f57df82e
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue