aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index a4c4e21..471573b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -13,7 +13,8 @@ mod config;
async fn main() {
pretty_env_logger::init();
- let ctx = diplonat::setup().expect("Setup failed:");
+ let ctx = diplonat::setup().expect("Setup failed");
+ diplonat::listen();
/*
let url = format!("http://127.0.0.1:8500/v1/catalog/node/{}", config.consul_node_name);
let resp = reqwest::get(&url)