Skip to content

Commit

Permalink
fix check for disk
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Apr 19, 2017
1 parent c12bf06 commit 98a5b64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/bootloader/stage1_device.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def underlaying_devices_for(dev)

def pv_disk(vgs)
pvs = usable_pvs(vgs)
pvs.map { |p| p.ancestors.find { |a| a.is_a?(:disk) }.name }
pvs.map { |p| p.ancestors.find { |a| a.is?(:disk) }.name }
end

# get one level of underlaying devices, so no recursion deeper
Expand Down

0 comments on commit 98a5b64

Please sign in to comment.