Skip to content

Commit 833f3e3

Browse files
committed
Remove trailing comma from client creation options; should fix 1.8 builds
1 parent 74a61d3 commit 833f3e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/redis/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ def resolve_nearest_slave
582582
client = Client.new @options.merge(
583583
:host => slave["ip"],
584584
:port => slave["port"],
585-
:reconnect_attempts => 0,
585+
:reconnect_attempts => 0
586586
)
587587
client.call [:ping]
588588
start = Time.now

0 commit comments

Comments
 (0)