diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-05-22 14:17:48 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-05-22 14:17:48 +0200 |
commit | 453b1c684e2c92fad41ad50fa7a2c9a184f960c5 (patch) | |
tree | c7428c789fb73ac18d9ab99bd66d4e23b991b5ce /src/consul.rs | |
parent | 4cebe77b6fcc8260ccccece61799a11f4898a0b9 (diff) | |
download | diplonat-453b1c684e2c92fad41ad50fa7a2c9a184f960c5.tar.gz diplonat-453b1c684e2c92fad41ad50fa7a2c9a184f960c5.zip |
Working parsing
Diffstat (limited to 'src/consul.rs')
-rw-r--r-- | src/consul.rs | 4 |
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 { |