Skip to content

Commit 72b902d

Browse files
authored
Add blank lines to separate validators in list. (#5912)
## Motivation In `linera validator list` it's hard to know which line applies to which validator. ## Proposal Add blank lines between validators. ## Test Plan I tried it out. ## Release Plan - Release SDK. - Check if this is wrong on `main`, too. ## Links <!-- Optional section for related PRs, related issues, and other references. If needed, please create issues to track future improvements and link them here. --> - [reviewer checklist](https://github.com/linera-io/linera-protocol/blob/main/CONTRIBUTING.md#reviewer-checklist)
1 parent 76a8a11 commit 72b902d

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

linera-client/src/client_context.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ impl ValidatorQueryResults {
201201
}
202202
Err(err) => println!("Error getting chain info: {err}"),
203203
}
204+
println!();
204205
}
205206
}
206207

linera-service/src/cli/validator.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,6 @@ impl List {
632632
// Print local node results first (everything)
633633
println!("Local Node:");
634634
local_results.print(None, None, None, None);
635-
println!();
636635

637636
// Print validator results (only differences from local node)
638637
for (name, address, votes, results) in &validator_results {

0 commit comments

Comments
 (0)