Skip to content

Commit

Permalink
Use bind-address-http for http server and bumped version number to 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesdejager committed Sep 29, 2019
1 parent deba8ed commit 515ebf7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "unftp"
version = "0.2.0"
version = "0.3.0"
authors = [
"Agoston Horvath <[email protected]>",
"Dávid Kosztka <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ fn main() {
let mut runtime = TokioRuntime::new().unwrap();

// HTTP server for exporting Prometheus metrics
if let Some(addr) = arg_matches.value_of("metrics-bind-address") {
if let Some(addr) = arg_matches.value_of("bind-address-http") {
let http_addr = addr
.parse()
.expect(format!("Unable to parse metrics address {}", addr).as_str());
Expand Down

0 comments on commit 515ebf7

Please sign in to comment.