Skip to content

Commit

Permalink
Add missing param
Browse files Browse the repository at this point in the history
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
  • Loading branch information
clintoncwolfe committed Jun 10, 2019
1 parent abfbdb6 commit 86d085d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/inspec/input_registry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,10 @@ def bind_inputs_from_metadata(profile_name, profile_metadata_obj)
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
Expand Down

0 comments on commit 86d085d

Please sign in to comment.