mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
typo
This commit is contained in:
parent
e7450a6723
commit
e576903680
@ -168,12 +168,12 @@ module VagrantPlugins
|
||||
end
|
||||
|
||||
# is it better to raise our own error, or let libvirt cause the exception?
|
||||
raise "Only four cdroms may be attached at a time"
|
||||
raise 'Only four cdroms may be attached at a time'
|
||||
end
|
||||
|
||||
def input(options={})
|
||||
if options[:type] == nil or options[:bus] == nil
|
||||
raise "Input type AND bus must be specified"
|
||||
if options[:type].nil? || options[:bus].nil?
|
||||
raise 'Input type AND bus must be specified'
|
||||
end
|
||||
|
||||
if @inputs == UNSET_VALUE
|
||||
@ -181,8 +181,8 @@ module VagrantPlugins
|
||||
end
|
||||
|
||||
@inputs.push({
|
||||
:type => options[:type],
|
||||
:bus => options[:bus]
|
||||
type: options[:type],
|
||||
bus: options[:bus]
|
||||
})
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user