Merge pull request #4990 from TheLunaticScripter/tls/add_debug_a2_login

Add additional debug logging for automate login
This commit is contained in:
James Stocks 2020-04-22 09:10:33 +01:00 committed by GitHub
commit e7d9a79d5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -302,6 +302,10 @@ module InspecPlugins
)
true
else
Inspec::Log.debug(
"Received #{response.code} from #{url}#{automate_endpoint} - " \
"assuming target is not an #{AUTOMATE_PRODUCT_NAME}2 instance"
)
false
end
end