mirror of
https://github.com/inspec/inspec
synced 2025-02-17 06:28:40 +00:00
Merge pull request #1646 from jeremymv2/jeremymv2/fix_validate_backend_error
pass options hash sans target key
This commit is contained in:
commit
2376cba73f
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…
Add table
Reference in a new issue