lib/heartcheck/generators/templates/config.rb in heartcheck-1.2.1 vs lib/heartcheck/generators/templates/config.rb in heartcheck-1.2.2

- old
+ new

@@ -74,11 +74,11 @@ # to customize default error message, the default is: # "connection refused on: #{service.host}:#{service.port}" # params # errors: Array => errors to show on page # service: FirewallService => object that respond to :host and :port - c.on_error do |_errors, service| - erros << "Custom error message for #{service.host}" + c.on_error do |errors, service| + errors << "Custom error message for #{service.host}" end end # Redis # check if you redis conection is working