aboutsummaryrefslogtreecommitdiff
path: root/src/garage/cli.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-10-19 17:00:01 +0200
committerAlex Auvolat <alex@adnab.me>2021-10-19 23:39:47 +0200
commit550ce7db2a43ddff310df710b78aab4a11436a2b (patch)
tree13c69699d1dfb526f79d14a57565a87ce3a3a105 /src/garage/cli.rs
parent12190efd410002a75b28167526273b9276d36bd2 (diff)
downloadgarage-550ce7db2a43ddff310df710b78aab4a11436a2b.tar.gz
garage-550ce7db2a43ddff310df710b78aab4a11436a2b.zip
Update doc: quick_start
Diffstat (limited to 'src/garage/cli.rs')
-rw-r--r--src/garage/cli.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/garage/cli.rs b/src/garage/cli.rs
index 67606b97..a88bd84e 100644
--- a/src/garage/cli.rs
+++ b/src/garage/cli.rs
@@ -356,7 +356,7 @@ pub async fn cmd_status(rpc_cli: &Endpoint<SystemRpc, ()>, rpc_host: NodeID) ->
resp => return Err(Error::Message(format!("Invalid RPC response: {:?}", resp))),
};
- println!("Healthy nodes:");
+ println!("==== HEALTHY NODES ====");
let mut healthy_nodes = vec!["ID\tHostname\tAddress\tTag\tZone\tCapacity".to_string()];
for adv in status.iter().filter(|adv| adv.is_up) {
if let Some(cfg) = config.members.get(&adv.id) {
@@ -387,7 +387,7 @@ pub async fn cmd_status(rpc_cli: &Endpoint<SystemRpc, ()>, rpc_host: NodeID) ->
.iter()
.any(|(id, _)| !status_keys.contains(id));
if failure_case_1 || failure_case_2 {
- println!("\nFailed nodes:");
+ println!("\n==== FAILED NODES ====");
let mut failed_nodes =
vec!["ID\tHostname\tAddress\tTag\tZone\tCapacity\tLast seen".to_string()];
for adv in status.iter().filter(|adv| !adv.is_up) {