diff options
author | Alex Auvolat <lx@deuxfleurs.fr> | 2025-01-31 18:34:57 +0100 |
---|---|---|
committer | Alex Auvolat <lx@deuxfleurs.fr> | 2025-01-31 18:34:57 +0100 |
commit | 84f1db91c4e53a8d0c037fd01adb695fd9400ed5 (patch) | |
tree | 9f80c50a55bcde668f487957b88cf00e682e4190 /src/api/admin/cluster.rs | |
parent | 9fa20d45bebab2a3f66b9721c3643dbd607d944d (diff) | |
download | garage-84f1db91c4e53a8d0c037fd01adb695fd9400ed5.tar.gz garage-84f1db91c4e53a8d0c037fd01adb695fd9400ed5.zip |
fix things up
Diffstat (limited to 'src/api/admin/cluster.rs')
-rw-r--r-- | src/api/admin/cluster.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/admin/cluster.rs b/src/api/admin/cluster.rs index d4a645a2..ffa0fa71 100644 --- a/src/api/admin/cluster.rs +++ b/src/api/admin/cluster.rs @@ -12,9 +12,10 @@ use garage_rpc::layout; use garage_model::garage::Garage; +use garage_api_common::helpers::{json_ok_response, parse_json_body}; + use crate::api_server::ResBody; use crate::error::*; -use garage_api_common::helpers::{json_ok_response, parse_json_body}; pub async fn handle_get_cluster_status(garage: &Arc<Garage>) -> Result<Response<ResBody>, Error> { let layout = garage.system.cluster_layout(); |