From 2a5609b292de019085f93a79b7b73f7a8341bf51 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 22 Feb 2022 14:52:41 +0100 Subject: Add metrics to API endpoint --- src/garage/server.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/garage') diff --git a/src/garage/server.rs b/src/garage/server.rs index 739dedbe..b11f8417 100644 --- a/src/garage/server.rs +++ b/src/garage/server.rs @@ -69,8 +69,9 @@ pub async fn run_server(config_file: PathBuf) -> Result<(), Error> { )); info!("Configure and run admin web server..."); - let admin_server = - tokio::spawn(admin_server_init.run(config.admin_api.bind_addr, wait_from(watch_cancel.clone()))); + let admin_server = tokio::spawn( + admin_server_init.run(config.admin_api.bind_addr, wait_from(watch_cancel.clone())), + ); // Stuff runs -- cgit v1.2.3