mirror of
https://github.com/inspec/inspec
synced 2024-11-23 05:03:07 +00:00
Load the compliance plugin when the fetcher is needed (#3609)
* Add Compliance fetcher pending 4.0 plugin When migrating `inspec-compliance` to a V2 plugin only the CLI functions were migrated. This caused the fetcher portions of `inspec-compliance` to fail. Currently, there isn't a fetcher plugin type so this loads the fetcher explicitly until a fetcher plugin type and corresponding Compliance fetcher is created in InSpec 4.0. Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
This commit is contained in:
parent
09b0c41e39
commit
4a03e54b4c
1 changed files with 3 additions and 0 deletions
|
@ -42,3 +42,6 @@ end
|
|||
require 'fetchers/local'
|
||||
require 'fetchers/url'
|
||||
require 'fetchers/git'
|
||||
|
||||
# TODO: Remove in 4.0 when Compliance fetcher plugin is created
|
||||
require 'plugins/inspec-compliance/lib/inspec-compliance/api'
|
||||
|
|
Loading…
Reference in a new issue