Fix issue with 'http(s)://' prefix

This commit is contained in:
Alex Auvolat
2022-10-18 21:17:11 +02:00
parent 2da8786f54
commit 8bc5caf7aa
3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -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