mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-21 22:56:46 +01:00
Fix typo in prometheus-metrics/src/main.rs
(#2160)
This commit is contained in:
parent
e8cf5f4f0e
commit
9dbfdbb4df
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ async fn start_main_server() {
|
|||
async fn start_metrics_server() {
|
||||
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")
|
||||
.await
|
||||
.unwrap();
|
||||
|
|
Loading…
Reference in a new issue