lib/ztk/tcp_socket_check.rb in ztk-0.2.5 vs lib/ztk/tcp_socket_check.rb in ztk-0.2.6
- old
+ new
@@ -93,10 +93,10 @@
def initialize(configuration={})
super({
:timeout => 5,
:wait => 60
}.merge(configuration))
- config.logger.debug { "config(#{config.inspect})" }
+ config.logger.debug { "config=#{config.send(:table).inspect}" }
end
# Check to see if socket on the host and port specified is ready. This
# method will timeout and return false after the amount of seconds specified
# in *config.timeout* has passed if the socket has not become ready.