aboutsummaryrefslogtreecommitdiff
path: root/src/api/admin/cluster.rs
diff options
context:
space:
mode:
authorMendes <mendes.oulamara@pm.me>2022-10-10 17:21:13 +0200
committerMendes <mendes.oulamara@pm.me>2022-10-10 17:21:13 +0200
commit4abab246f1113a9a1988fdfca81c1dd8ffa323c8 (patch)
tree146ecf1a6fc09ebc35d709beb1e639032f1e1b59 /src/api/admin/cluster.rs
parentfcf9ac674a2842b2b55d933e60af5af93dcc4592 (diff)
downloadgarage-4abab246f1113a9a1988fdfca81c1dd8ffa323c8.tar.gz
garage-4abab246f1113a9a1988fdfca81c1dd8ffa323c8.zip
cargo fmt
Diffstat (limited to 'src/api/admin/cluster.rs')
-rw-r--r--src/api/admin/cluster.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/api/admin/cluster.rs b/src/api/admin/cluster.rs
index 630179b5..da3d8c44 100644
--- a/src/api/admin/cluster.rs
+++ b/src/api/admin/cluster.rs
@@ -163,10 +163,10 @@ pub async fn handle_apply_cluster_layout(
let layout = garage.system.get_cluster_layout();
let (layout, msg) = layout.apply_staged_changes(Some(param.version))?;
- //TODO : how to display msg ? Should it be in the Body Response ?
- for s in msg.iter() {
- println!("{}", s);
- }
+ //TODO : how to display msg ? Should it be in the Body Response ?
+ for s in msg.iter() {
+ println!("{}", s);
+ }
garage.system.update_cluster_layout(&layout).await?;