mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-26 00:00:23 +02:00
Fix typo in prometheus-metrics/src/main.rs (#2160)
This commit is contained in:
@@ -51,7 +51,7 @@ async fn start_main_server() {
|
|||||||
async fn start_metrics_server() {
|
async fn start_metrics_server() {
|
||||||
let app = metrics_app();
|
let app = metrics_app();
|
||||||
|
|
||||||
// NOTE: expose metrics enpoint on a different port
|
// NOTE: expose metrics endpoint on a different port
|
||||||
let listener = tokio::net::TcpListener::bind("127.0.0.1:3001")
|
let listener = tokio::net::TcpListener::bind("127.0.0.1:3001")
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|||||||
Reference in New Issue
Block a user