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(
467
467
}
468
468
}
469
469
}
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" } ) ?;
470
474
}
471
475
472
476
tracing:: debug!( "pinned={}" , entry. pinned) ;
@@ -504,6 +508,10 @@ fn human_render_slot_ostree(
504
508
if let Some ( ostree) = & entry. ostree {
505
509
render_verbose_ostree_info ( & mut out, ostree, slot, prefix_len) ?;
506
510
}
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" } ) ?;
507
515
}
508
516
509
517
tracing:: debug!( "pinned={}" , entry. pinned) ;
@@ -725,5 +733,6 @@ mod tests {
725
733
assert ! ( w. contains( "Deploy serial:" ) ) ;
726
734
assert ! ( w. contains( "Staged:" ) ) ;
727
735
assert ! ( w. contains( "Commit:" ) ) ;
736
+ assert ! ( w. contains( "Soft-reboot capable:" ) ) ;
728
737
}
729
738
}
You can’t perform that action at this time.
0 commit comments