From 9cd798c25f0cc45dbfac71ab38ea82f7d130dfb9 Mon Sep 17 00:00:00 2001 From: Johnson Shih Date: Thu, 12 Oct 2023 01:48:44 -0700 Subject: [PATCH] test change, do not commit Signed-off-by: Johnson Shih --- shared/Cargo.toml | 2 +- shared/src/akri/metrics.rs | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/shared/Cargo.toml b/shared/Cargo.toml index 177667ae7..74737c963 100644 --- a/shared/Cargo.toml +++ b/shared/Cargo.toml @@ -26,7 +26,7 @@ serde_yaml = "0.8" tokio = { version = "1.0.1", features = ["full"] } tonic = "0.5.2" tower = "0.4.8" -warp = "0.3.6" +warp = "0.3.4" [dev-dependencies] env_logger = "0.10.0" diff --git a/shared/src/akri/metrics.rs b/shared/src/akri/metrics.rs index 5d15472a4..04ecb576b 100644 --- a/shared/src/akri/metrics.rs +++ b/shared/src/akri/metrics.rs @@ -28,7 +28,10 @@ pub async fn run_metrics_server() -> Result<(), Box p.parse::()?, Err(_) => 8080, }; - info!("starting metrics server on port {} at /metrics", port); + info!( + "starting metrics server on port number {} at /metrics", + port + ); let metrics_route = warp::path!("metrics").and_then(metrics_handler); warp::serve(metrics_route).run(([0, 0, 0, 0], port)).await; Ok(())