mirror of
https://github.com/inspec/inspec
synced 2024-11-27 07:00:39 +00:00
pass options hash minus target key
Signed-off-by: Jeremy J. Miller <jm@chef.io>
This commit is contained in:
parent
8c2aa716ca
commit
c73417e0ae
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ module Inspec
|
|||
@writable = options[:writable] || false
|
||||
@profile_id = options[:id]
|
||||
@cache = options[:cache] || Cache.new
|
||||
@backend = options[:backend] || Inspec::Backend.create(options)
|
||||
@backend = options[:backend] || Inspec::Backend.create(options.select { |k, _| k != 'target' })
|
||||
@attr_values = options[:attributes]
|
||||
@source_reader = source_reader
|
||||
@tests_collected = false
|
||||
|
|
Loading…
Reference in a new issue