lib/heartcheck/checks/firewall.rb in heartcheck-1.4.0 vs lib/heartcheck/checks/firewall.rb in heartcheck-1.5.0
- old
+ new
@@ -14,9 +14,19 @@
append_error(service)
end
end
end
+ def uri_info
+ services.map do |s|
+ {
+ host: s.uri.host,
+ port: s.uri.port,
+ scheme: s.uri.scheme
+ }
+ end
+ end
+
private
def custom_error(service)
error_message = "connection refused on: #{service.host}:#{service.port}"