Skip to content

Commit 34b1103

Browse files
committed
cargo fmt
1 parent ea0032f commit 34b1103

File tree

1 file changed

+15
-3
lines changed
  • aggregation_mode/gateway/src

1 file changed

+15
-3
lines changed

aggregation_mode/gateway/src/http.rs

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,16 @@ impl GatewayServer {
111111
#[cfg(feature = "tls")]
112112
{
113113
let tls_port = self.config.tls_port;
114-
tracing::info!("Starting HTTP server at http://{}:{}", self.config.ip, http_port);
115-
tracing::info!("Starting HTTPS server at https://{}:{}", self.config.ip, tls_port);
114+
tracing::info!(
115+
"Starting HTTP server at http://{}:{}",
116+
self.config.ip,
117+
http_port
118+
);
119+
tracing::info!(
120+
"Starting HTTPS server at https://{}:{}",
121+
self.config.ip,
122+
tls_port
123+
);
116124

117125
let tls_config =
118126
Self::load_tls_config(&self.config.tls_cert_path, &self.config.tls_key_path)
@@ -130,7 +138,11 @@ impl GatewayServer {
130138

131139
#[cfg(not(feature = "tls"))]
132140
{
133-
tracing::info!("Starting HTTP server at http://{}:{}", self.config.ip, http_port);
141+
tracing::info!(
142+
"Starting HTTP server at http://{}:{}",
143+
self.config.ip,
144+
http_port
145+
);
134146

135147
server
136148
.bind((self.config.ip.as_str(), http_port))

0 commit comments

Comments
 (0)