Skip to content

Commit

Permalink
Use correct ceph_args variable
Browse files Browse the repository at this point in the history
Fixes: 6db6f80 ("Replace server XML with Nokogiri::XML::Builder")
  • Loading branch information
ekohl committed Dec 20, 2024
1 parent ffae6a5 commit 35e1be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fog/libvirt/models/compute/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def to_xml
end
end

xml.target(:dev => target_device, :bus => args["bus_type"] == "virtio" ? "virtio" : "scsi")
xml.target(:dev => target_device, :bus => ceph_args["bus_type"] == "virtio" ? "virtio" : "scsi")
end
else
is_block = volume.path.start_with?("/dev/")
Expand Down

0 comments on commit 35e1be8

Please sign in to comment.