mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
Add missing param
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
parent
4aa805c7ad
commit
5a4cbe2c17
1 changed files with 2 additions and 2 deletions
|
@ -221,10 +221,10 @@ module Inspec
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
raw_inputs.each { |i| handle_raw_input_from_metadata(i) }
|
raw_inputs.each { |i| handle_raw_input_from_metadata(i, profile_name) }
|
||||||
end
|
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_options = input_orig.dup
|
||||||
input_name = input_options.delete(:name)
|
input_name = input_options.delete(:name)
|
||||||
input_options[:provider] = :profile_metadata
|
input_options[:provider] = :profile_metadata
|
||||||
|
|
Loading…
Reference in a new issue