From 3999723308da10e564c4634997c6ecf63f2839d4 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 13 Jun 2023 11:40:13 +0200 Subject: update df-consul to fix some issues --- src/cert_store.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cert_store.rs') 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()), -- cgit v1.2.3