lib/redis_client_options.rb in sensu-plugins-redis-2.4.0 vs lib/redis_client_options.rb in sensu-plugins-redis-3.0.0
- old
+ new
@@ -70,10 +70,10 @@
option :conn_failure_status,
long: '--conn-failure-status EXIT_STATUS',
description: 'Returns the following exit status for Redis connection failures',
default: 'critical',
- in: %w(unknown warning critical)
+ in: %w[unknown warning critical]
option :timeout,
short: '-t TIMEOUT',
long: '--timeout TIMEOUT',
description: 'Redis connection timeout',