Skip to content

Commit

Permalink
Merge pull request #494 from yast/planned_devices_fallback
Browse files Browse the repository at this point in the history
Planned devices fallback
  • Loading branch information
teclator authored Mar 22, 2023
2 parents d2dfabf + 2376dce commit 71d7d73
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion service/lib/dinstaller/storage/proposal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def volume_templates
def calculated_settings
return nil unless proposal

to_dinstaller_settings(proposal.settings, devices: proposal.planned_devices)
to_dinstaller_settings(proposal.settings, devices: proposal.planned_devices || [])
end

# Calculates a new proposal
Expand Down
6 changes: 6 additions & 0 deletions service/package/rubygem-d-installer.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Mar 22 16:05:14 UTC 2023 - Knut Anderssen <[email protected]>

- Added a fallback in order to prevent a proposal error when no
planned devices are available (gh#yast/d-installer#494).

-------------------------------------------------------------------
Wed Mar 22 15:20:45 UTC 2023 - Ancor Gonzalez Sosa <[email protected]>

Expand Down

0 comments on commit 71d7d73

Please sign in to comment.