From 506d4b1cbfe36108594eb4819593c9b9aecb8358 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Fri, 8 May 2020 10:34:10 +0200 Subject: [PATCH] WIP --- diplonat_debug | 10 ---------- src/main.rs | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 100755 diplonat_debug 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::>()