File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1559,8 +1559,7 @@ async fn initialize_composefs_repository(
15591559fn get_booted_bls ( ) -> Result < BLSConfig > {
15601560 let cmdline = crate :: kernel:: Cmdline :: from_proc ( ) ?;
15611561 let booted = cmdline
1562- . iter ( )
1563- . find ( |x| x. key == b"composefs" )
1562+ . find ( "composefs" )
15641563 . ok_or_else ( || anyhow:: anyhow!( "Failed to find composefs parameter in kernel cmdline" ) ) ?;
15651564
15661565 for entry in std:: fs:: read_dir ( "/sysroot/boot/loader/entries" ) ? {
Original file line number Diff line number Diff line change @@ -393,8 +393,7 @@ async fn boot_entry_from_composefs_deployment(
393393pub ( crate ) async fn composefs_deployment_status ( ) -> Result < Host > {
394394 let cmdline = crate :: kernel:: Cmdline :: from_proc ( ) ?;
395395 let composefs_arg = cmdline
396- . iter ( )
397- . find ( |x| x. key == b"composefs" )
396+ . find ( "composefs" )
398397 . ok_or_else ( || anyhow:: anyhow!( "Failed to find composefs parameter in kernel cmdline" ) ) ?;
399398 let booted_image_verity = composefs_arg
400399 . value
You can’t perform that action at this time.
0 commit comments