Signed-off-by: Miah Johnson <miah@chia-pet.org>
This commit is contained in:
Miah Johnson 2019-05-07 19:10:42 -07:00
parent 0b9833dd96
commit 046d4567ae
2 changed files with 2 additions and 2 deletions

View file

@ -70,7 +70,7 @@ module Inspec
# return all telemetry options from config
# @return [Hash]
def telemetry_options
final_options.select { |key,_| key.include?('telemetry') }
final_options.select { |key, _| key.include?('telemetry') }
end
#-----------------------------------------------------------------------#

View file

@ -29,7 +29,7 @@ module Inspec::Telemetry
# telemetry, if not default to false.
# @return [True, False]
def telemetry_enabled?
config_telemetry_options.fetch("enable_telemetry", false)
config_telemetry_options.fetch('enable_telemetry', false)
end
# A way to disable the telemetry system.