Skip to content

Commit

Permalink
Replace metrics config with generic admin config
Browse files Browse the repository at this point in the history
  • Loading branch information
iffyio committed Nov 25, 2020
1 parent 56584a8 commit 597e723
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,13 @@ impl Default for Proxy {
}

#[derive(Debug, Deserialize, Serialize)]
pub struct Metrics {
pub struct AdminAddress {
port: u16,
}

#[derive(Debug, Deserialize, Serialize)]
pub struct Admin {
metrics: Option<Metrics>,
address: Option<AdminAddress>,
}

#[derive(Debug, Deserialize, Serialize)]
Expand Down

0 comments on commit 597e723

Please sign in to comment.