bin/check-http.rb in sensu-plugins-http-0.1.1 vs bin/check-http.rb in sensu-plugins-http-0.1.2

- old
+ new

@@ -171,10 +171,10 @@ config[:port] = uri.port config[:request_uri] = uri.request_uri config[:ssl] = uri.scheme == 'https' else # #YELLOW - unless config[:host] && config[:request_uri] # rubocop:disable IfUnlessModifier + unless config[:host] && config[:request_uri] unknown 'No URL specified' end config[:port] ||= config[:ssl] ? 443 : 80 end