Skip to content

Commit

Permalink
Don't offer a switch if slots have identical versions
Browse files Browse the repository at this point in the history
  • Loading branch information
yfyf committed Oct 22, 2024
1 parent c94d3fe commit 02bd61a
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 _, Status _) ->
| (UpToDate {booted; inactive}, Status _) when booted != inactive ->
Some (Definition.description (
switch_to_older_system_call target_slot
))
Expand Down

0 comments on commit 02bd61a

Please sign in to comment.