aboutsummaryrefslogtreecommitdiff
path: root/src/consul.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/consul.rs')
-rw-r--r--src/consul.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/consul.rs b/src/consul.rs
index b06f62d..01dff46 100644
--- a/src/consul.rs
+++ b/src/consul.rs
@@ -4,12 +4,12 @@ use anyhow::{Result, anyhow};
#[derive(Serialize, Deserialize, Debug)]
pub struct ServiceEntry {
- Tags: Vec<String>
+ pub Tags: Vec<String>
}
#[derive(Serialize, Deserialize, Debug)]
pub struct CatalogNode {
- Services: HashMap<String, ServiceEntry>
+ pub Services: HashMap<String, ServiceEntry>
}
pub struct Consul {