diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-05-08 10:34:10 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-05-08 10:34:10 +0200 |
commit | 506d4b1cbfe36108594eb4819593c9b9aecb8358 (patch) | |
tree | 4a3ce2d652ca0ac6dee3845ec7585c42517d707a | |
parent | fdffe913974a281ca6ff79389875a2fb29e353b7 (diff) | |
download | diplonat-506d4b1cbfe36108594eb4819593c9b9aecb8358.tar.gz diplonat-506d4b1cbfe36108594eb4819593c9b9aecb8358.zip |
WIP
-rwxr-xr-x | diplonat_debug | 10 | ||||
-rw-r--r-- | src/main.rs | 2 |
2 files changed, 1 insertions, 11 deletions
diff --git a/diplonat_debug b/diplonat_debug deleted file mode 100755 index 0009865..0000000 --- a/diplonat_debug +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -# http://127.0.0.1:8500/v1/catalog/node/rincevent?index=0 -# then look at X-Consul-Index -export DIPLONAT_PRIVATE_IP=10.3.3.37 -export DIPLONAT_REFRESH_TIME=60 -export DIPLONAT_EXPIRATION_TIME=180 -export DIPLONAT_CONSUL_NODE_NAME=rincevent - -./target/debug/diplonat diff --git a/src/main.rs b/src/main.rs index 7a33bab..1a5c628 100644 --- a/src/main.rs +++ b/src/main.rs @@ -57,7 +57,7 @@ async fn main() { Err(e) => return println!("unable to build configuration: {}", e), }; - let resp = reqwest::get("http://127.0.0.1:5000") + let resp = reqwest::get("http://127.0.0.1:8500") .await .unwrap() .json::<HashMap<String, String>>() |