diff options
author | Alex Auvolat <alex@adnab.me> | 2022-12-13 12:24:30 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-12-13 12:24:30 +0100 |
commit | 9d82196945f751c825621573657cfead992b356b (patch) | |
tree | 1482c495ca0761d7c988ce9765e044d266569229 /src/garage/cli/cmd.rs | |
parent | a51e8d94c61033783ad8b0dfa2b066e7a59654c2 (diff) | |
download | garage-9d82196945f751c825621573657cfead992b356b.tar.gz garage-9d82196945f751c825621573657cfead992b356b.zip |
cli: new worker info command
Diffstat (limited to 'src/garage/cli/cmd.rs')
-rw-r--r-- | src/garage/cli/cmd.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/garage/cli/cmd.rs b/src/garage/cli/cmd.rs index c8b96489..6df15a48 100644 --- a/src/garage/cli/cmd.rs +++ b/src/garage/cli/cmd.rs @@ -186,7 +186,10 @@ pub async fn cmd_admin( print_key_info(&key, &rb); } AdminRpc::WorkerList(wi, wlo) => { - print_worker_info(wi, wlo); + print_worker_list(wi, wlo); + } + AdminRpc::WorkerInfo(tid, wi) => { + print_worker_info(tid, wi); } r => { error!("Unexpected response: {:?}", r); |