Skip to content

Commit

Permalink
Use correct (structural) type of equality
Browse files Browse the repository at this point in the history
Co-authored-by: Johannes Emerich <johannes@emerich.de>
  • Loading branch information
yfyf and knuton authored Oct 23, 2024
1 parent 02bd61a commit e852fef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/server/view/status_page.ml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ let suggested_action_of_state (update:Update.state) (rauc:rauc_state) booted_slo
Some (Definition.description (
switch_to_newer_system_call target_slot
))
| (UpToDate {booted; inactive}, Status _) when booted != inactive ->
| (UpToDate {booted; inactive}, Status _) when booted <> inactive ->
Some (Definition.description (
switch_to_older_system_call target_slot
))
Expand Down

0 comments on commit e852fef

Please sign in to comment.