lib/pact_broker/badges/service.rb in pact_broker-2.93.2 vs lib/pact_broker/badges/service.rb in pact_broker-2.93.3

- old
+ new

@@ -130,10 +130,10 @@ def do_request(uri) with_cache uri do request = Net::HTTP::Get.new(uri) options = {read_timeout: 3, open_timeout: 1, ssl_timeout: 1, continue_timeout: 1} - options.merge! PactBroker::BuildHttpOptions.call(uri) + options.merge! PactBroker::BuildHttpOptions.call(uri, disable_ssl_verification: PactBroker.configuration.disable_ssl_verification) Net::HTTP.start(uri.hostname, uri.port, :ENV, options) do |http| http.request request end end