Add missing param

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
Clinton Wolfe 2019-06-10 16:54:36 -04:00
parent 4aa805c7ad
commit 5a4cbe2c17

View file

@ -221,10 +221,10 @@ module Inspec
return
end
raw_inputs.each { |i| handle_raw_input_from_metadata(i) }
raw_inputs.each { |i| handle_raw_input_from_metadata(i, profile_name) }
end
def handle_raw_input_from_metadata(input_orig)
def handle_raw_input_from_metadata(input_orig, profile_name)
input_options = input_orig.dup
input_name = input_options.delete(:name)
input_options[:provider] = :profile_metadata