Skip to content

Commit

Permalink
service: Workaround for error on s390x
Browse files Browse the repository at this point in the history
  • Loading branch information
ancorgs committed Dec 9, 2024
1 parent cfaeae3 commit ee50399
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions service/lib/agama/storage/proposal_strategies/guided.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ def calculate

# @see Base#issues
def issues
# Returning [] in case of a missing proposal is a workaround (the scenario should
# not happen). But this class is not expected to live long.
return [] unless storage_manager.proposal
return [] unless storage_manager.proposal.failed?

[target_device_issue, missing_devices_issue].compact
Expand Down

0 comments on commit ee50399

Please sign in to comment.