mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge pull request #3396 from plribeiro3000/fix-rdoc-build
Fix RDoc build
This commit is contained in:
commit
2a9ce483eb
1 changed files with 2 additions and 2 deletions
|
@ -37,11 +37,11 @@ module Fog
|
|||
config = host_ref
|
||||
extra_params = name_label
|
||||
|
||||
%i(physical_size name description type content_type shared sm_config).each do |attribute|
|
||||
[:physical_size, :name, :description, :type, :content_type, :shared, :sm_config].each do |attribute|
|
||||
raise "Missing Argument in first param: #{attribute}" if config[attribute].nil?
|
||||
end
|
||||
|
||||
%i(host_ref device_config).each do |attribute|
|
||||
[:host_ref, :device_config].each do |attribute|
|
||||
raise "Missing Argument in second param: #{attribute}" if extra_params[attribute].nil?
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue