allow additional ServiceMeta, docs

This commit is contained in:
Roberto Hidalgo
2023-05-08 19:29:47 -06:00
parent 4d6e6fc155
commit bd6485565e
3 changed files with 28 additions and 9 deletions
+3
View File
@@ -168,6 +168,9 @@ pub struct ConsulServiceConfig {
// Additional tags to add to the service
#[serde(default)]
pub tags: Vec<String>,
// Additional service metadata to add
#[serde(default)]
pub meta: Option<std::collections::HashMap<String, String>>,
/// Skip TLS hostname verification
#[serde(default)]
pub tls_skip_verify: bool,