aboutsummaryrefslogtreecommitdiff
path: root/src/garage/cli/cmd.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-11-07 19:34:40 +0100
committerAlex Auvolat <alex@adnab.me>2022-11-07 20:11:30 +0100
commitea5afc251106b3f6e2d07f942ba1f88abeef8765 (patch)
treefe9679c408cbac8af18bb6400105ebc4a3bd1ad3 /src/garage/cli/cmd.rs
parent28d7a49f6365fadaffaa903cc10434c1ed28d564 (diff)
downloadgarage-ea5afc251106b3f6e2d07f942ba1f88abeef8765.tar.gz
garage-ea5afc251106b3f6e2d07f942ba1f88abeef8765.zip
Style improvements
Diffstat (limited to 'src/garage/cli/cmd.rs')
-rw-r--r--src/garage/cli/cmd.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/garage/cli/cmd.rs b/src/garage/cli/cmd.rs
index c8b96489..e352ddf2 100644
--- a/src/garage/cli/cmd.rs
+++ b/src/garage/cli/cmd.rs
@@ -71,7 +71,7 @@ pub async fn cmd_status(rpc_cli: &Endpoint<SystemRpc, ()>, rpc_host: NodeID) ->
));
}
_ => {
- let new_role = match layout.staging.get(&adv.id) {
+ let new_role = match layout.staging_roles.get(&adv.id) {
Some(NodeRoleV(Some(_))) => "(pending)",
_ => "NO ROLE ASSIGNED",
};