Skip to content

Commit

Permalink
Update from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: dgdavid <1691872+dgdavid@users.noreply.github.com>
  • Loading branch information
joseivanlopez and dgdavid committed Nov 6, 2018
1 parent b46e0f7 commit a0ea210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/y2storage/proposal/space_maker.rb
Expand Up @@ -284,7 +284,7 @@ def free_spaces(graph, disk = nil)
#
# @return [Array<Dasd, Disk>]
def disks_for(devicegraph, device_name = nil)
filter = Array(device_name || candidate_disk_names)
filter = device_name ? [device_name] : candidate_disk_names
devicegraph.blk_devices.select { |d| filter.include?(d.name) }
end

Expand Down

0 comments on commit a0ea210

Please sign in to comment.