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.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cert_store.rs b/src/cert_store.rs
index 2d3fb90..abbc83d 100644
--- a/src/cert_store.rs
+++ b/src/cert_store.rs
@@ -15,7 +15,7 @@ use acme_micro::{Directory, DirectoryUrl};
use rustls::sign::CertifiedKey;
use crate::cert::{Cert, CertSer};
-use crate::consul::*;
+use crate::consul::{self, Consul};
use crate::proxy_config::*;
pub struct CertStore {
@@ -196,7 +196,7 @@ impl CertStore {
let lock_name = format!("tricot/renew:{}@{}", domain, self.node_name);
let session = self
.consul
- .create_session(&ConsulSessionRequest {
+ .create_session(&consul::locking::SessionRequest {
name: lock_name.clone(),
node: None,
lock_delay: Some("30m".into()),