diff options
author | Alex Auvolat <alex@adnab.me> | 2023-01-04 13:25:57 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-01-04 13:25:57 +0100 |
commit | 29dbcb82780dcdb6f2a01a9da5122e70abaf93bf (patch) | |
tree | 222ec61f03c5abcca6678239111e94ad4dcfeb67 /src/garage/cli/util.rs | |
parent | f3f27293df83986ba29fb03f8af26a2177518e20 (diff) | |
download | garage-29dbcb82780dcdb6f2a01a9da5122e70abaf93bf.tar.gz garage-29dbcb82780dcdb6f2a01a9da5122e70abaf93bf.zip |
bg var operation on all nodes at onceworker-get
Diffstat (limited to 'src/garage/cli/util.rs')
-rw-r--r-- | src/garage/cli/util.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/garage/cli/util.rs b/src/garage/cli/util.rs index 17477bd3..230ce3de 100644 --- a/src/garage/cli/util.rs +++ b/src/garage/cli/util.rs @@ -357,10 +357,10 @@ pub fn print_worker_info(tid: usize, info: WorkerInfo) { format_table(table); } -pub fn print_worker_vars(wv: Vec<(String, String)>) { +pub fn print_worker_vars(wv: Vec<(Uuid, String, String)>) { let table = wv .into_iter() - .map(|(k, v)| format!("{}\t{}", k, v)) + .map(|(n, k, v)| format!("{:?}\t{}\t{}", n, k, v)) .collect::<Vec<_>>(); format_table(table); } |