aboutsummaryrefslogtreecommitdiff
path: root/src/admin
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-02-22 14:52:41 +0100
committerAlex Auvolat <alex@adnab.me>2022-03-14 10:53:36 +0100
commit2a5609b292de019085f93a79b7b73f7a8341bf51 (patch)
tree7175cbeb1fc4eabcec936ccb8aee2945a92b1c60 /src/admin
parent818daa5c786813fdf50fecb6022e29b18e509b62 (diff)
downloadgarage-2a5609b292de019085f93a79b7b73f7a8341bf51.tar.gz
garage-2a5609b292de019085f93a79b7b73f7a8341bf51.zip
Add metrics to API endpoint
Diffstat (limited to 'src/admin')
-rw-r--r--src/admin/metrics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/admin/metrics.rs b/src/admin/metrics.rs
index 64721af2..02549fe9 100644
--- a/src/admin/metrics.rs
+++ b/src/admin/metrics.rs
@@ -1,7 +1,7 @@
use std::convert::Infallible;
+use std::net::SocketAddr;
use std::sync::Arc;
use std::time::SystemTime;
-use std::net::SocketAddr;
use futures::future::*;
use hyper::{