Skip to content

Commit

Permalink
fix(add_upgrade_boot_entry): convert arg list into a tuple
Browse files Browse the repository at this point in the history
Convert collected rd.lvm args into a tuple before trying to make
a set with one of the elements being the args. As list is not hashable,
this causes the actor to crash.
  • Loading branch information
Michal Hecko committed Nov 20, 2024
1 parent 3c3421a commit a1459c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def _get_rdlvm_arg_values():
api.current_logger().debug('Collected the following rd.lvm.lv args that are undesired for the squashfs: %s',
rd_lvm_values)

return rd_lvm_values
return tuple(rd_lvm_values)


def construct_cmdline_args_for_livemode():
Expand Down

0 comments on commit a1459c9

Please sign in to comment.