Support config clearing

Signed-off-by: Noel Georgi <git@frezbo.com>
This commit is contained in:
Noel Georgi 2019-09-13 10:41:14 +05:30
parent d0505a98e5
commit 48c22a118b
No known key found for this signature in database
GPG key ID: 7489FC9A10710C25

View file

@ -135,6 +135,11 @@ module Inspec
Thor::CoreExt::HashWithIndifferentAccess.new(@plugin_cfg[plugin_name] || {})
end
# clear the cached config
def self.__reset
@cached_config = nil
end
private
def _utc_merge_transport_options(credentials, transport_name)