Skip to content

Commit eedc8ea

Browse files
committed
Use correct ceph_args variable
Fixes: 6db6f80 ("Replace server XML with Nokogiri::XML::Builder")
1 parent ffae6a5 commit eedc8ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fog/libvirt/models/compute/server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def to_xml
363363
end
364364
end
365365

366-
xml.target(:dev => target_device, :bus => args["bus_type"] == "virtio" ? "virtio" : "scsi")
366+
xml.target(:dev => target_device, :bus => ceph_args["bus_type"] == "virtio" ? "virtio" : "scsi")
367367
end
368368
else
369369
is_block = volume.path.start_with?("/dev/")

0 commit comments

Comments
 (0)