File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -467,6 +467,10 @@ fn human_render_slot(
467467 }
468468 }
469469 }
470+
471+ // Show soft-reboot capability
472+ write_row_name ( & mut out, "Soft-reboot capable" , prefix_len) ?;
473+ writeln ! ( out, "{}" , if entry. soft_reboot_capable { "yes" } else { "no" } ) ?;
470474 }
471475
472476 tracing:: debug!( "pinned={}" , entry. pinned) ;
@@ -504,6 +508,10 @@ fn human_render_slot_ostree(
504508 if let Some ( ostree) = & entry. ostree {
505509 render_verbose_ostree_info ( & mut out, ostree, slot, prefix_len) ?;
506510 }
511+
512+ // Show soft-reboot capability
513+ write_row_name ( & mut out, "Soft-reboot capable" , prefix_len) ?;
514+ writeln ! ( out, "{}" , if entry. soft_reboot_capable { "yes" } else { "no" } ) ?;
507515 }
508516
509517 tracing:: debug!( "pinned={}" , entry. pinned) ;
@@ -725,5 +733,6 @@ mod tests {
725733 assert ! ( w. contains( "Deploy serial:" ) ) ;
726734 assert ! ( w. contains( "Staged:" ) ) ;
727735 assert ! ( w. contains( "Commit:" ) ) ;
736+ assert ! ( w. contains( "Soft-reboot capable:" ) ) ;
728737 }
729738}
You can’t perform that action at this time.
0 commit comments