Polish first-run operator workflow
This commit is contained in:
parent
59c86aba6a
commit
e6879e8949
6 changed files with 208 additions and 14 deletions
|
|
@ -1923,8 +1923,10 @@ fn print_response(response: ControlResponse, json: bool) -> Result<()> {
|
|||
}
|
||||
for stream in peer.streams {
|
||||
println!(
|
||||
" {}\tcursor={}\tlast_attempt={}\tlast_success={}\timported={}\trejected={}\terror={}",
|
||||
" {}\tstate={}\tstale={}\tcursor={}\tlast_attempt={}\tlast_success={}\timported={}\trejected={}\terror={}\tnext={}",
|
||||
stream.stream,
|
||||
stream.state,
|
||||
stream.stale,
|
||||
stream.cursor_ms,
|
||||
stream
|
||||
.last_attempt_ms
|
||||
|
|
@ -1936,7 +1938,8 @@ fn print_response(response: ControlResponse, json: bool) -> Result<()> {
|
|||
.unwrap_or_else(|| "never".to_owned()),
|
||||
stream.last_imported,
|
||||
stream.last_rejected,
|
||||
stream.last_error.unwrap_or_else(|| "-".to_owned())
|
||||
stream.last_error.unwrap_or_else(|| "-".to_owned()),
|
||||
stream.next_action
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue