lib/redis_failover/cli.rb in redis_failover-0.3.0 vs lib/redis_failover/cli.rb in redis_failover-0.4.0
- old
+ new
@@ -22,10 +22,10 @@
Hash[[:host, :port].zip(node.strip.split(':'))]
end
end
opts.on('--max-failures count',
- 'Max failures before server marks node unreachable (default 3)') do |max|
+ 'Max failures before server marks node unavailable (default 3)') do |max|
options[:max_failures] = Integer(max)
end
opts.on('-h', '--help', 'Display all options') do
puts opts
\ No newline at end of file