aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-10-18 21:17:11 +0200
committerAlex Auvolat <alex@adnab.me>2022-10-18 21:17:11 +0200
commit8bc5caf7aa9bc0e27b741c68113cb7fdde2d54e6 (patch)
treebf5b64bd594972a6827ee3a6eacf5e58710c0d12 /src/util
parent2da8786f54dcf13bed51549f818a1af3bbebaa8c (diff)
downloadgarage-8bc5caf7aa9bc0e27b741c68113cb7fdde2d54e6.tar.gz
garage-8bc5caf7aa9bc0e27b741c68113cb7fdde2d54e6.zip
Fix issue with 'http(s)://' prefixconsul-tls
Diffstat (limited to 'src/util')
-rw-r--r--src/util/config.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/config.rs b/src/util/config.rs
index a85e025f..04f8375a 100644
--- a/src/util/config.rs
+++ b/src/util/config.rs
@@ -128,8 +128,8 @@ pub struct AdminConfig {
#[derive(Deserialize, Debug, Clone)]
pub struct ConsulDiscoveryConfig {
- /// Consul host to connect to to discover more peers
- pub consul_host: String,
+ /// Consul http or https address to connect to to discover more peers
+ pub consul_http_addr: String,
/// Consul service name to use
pub service_name: String,
/// CA TLS certificate to use when connecting to Consul