From 8ef530658fdc8c27f3e43b8476e551b07bd7cacf Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 13 Dec 2024 04:37:34 +0100 Subject: [PATCH] `rdserver`: Rename variable to `ACRATE_RDSERVER_BIND_ADDRESS` --- acrate_rdserver/src/config.rs | 2 +- acrate_rdserver/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/acrate_rdserver/src/config.rs b/acrate_rdserver/src/config.rs index 535a5c4..d92cc3b 100644 --- a/acrate_rdserver/src/config.rs +++ b/acrate_rdserver/src/config.rs @@ -1,3 +1,3 @@ micronfig::config!( - ACRATE_WEBFINGER_BIND_ADDRESS: String, + ACRATE_RDSERVER_BIND_ADDRESS: String, ); diff --git a/acrate_rdserver/src/main.rs b/acrate_rdserver/src/main.rs index 20acb07..a27ee47 100644 --- a/acrate_rdserver/src/main.rs +++ b/acrate_rdserver/src/main.rs @@ -26,7 +26,7 @@ async fn main() -> anyhow::Result { log::trace!("Axum router created successfully!"); log::trace!("Creating Tokio listener..."); - let bind_address = config::ACRATE_WEBFINGER_BIND_ADDRESS(); + let bind_address = config::ACRATE_RDSERVER_BIND_ADDRESS(); let listener = tokio::net::TcpListener::bind(bind_address) .await .context("failed to bind listener to address")?;