Skip to content

Commit ed0d03f

Browse files
committed
Redis#client takes at least one argument
Fix: #1144
1 parent 3037564 commit ed0d03f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/redis/commands/server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def config(action, *args)
3636
#
3737
# @param [String, Symbol] subcommand e.g. `kill`, `list`, `getname`, `setname`
3838
# @return [String, Hash] depends on subcommand
39-
def client(subcommand = nil, *args)
39+
def client(subcommand, *args)
4040
send_command([:client, subcommand] + args) do |reply|
4141
if subcommand.to_s == "list"
4242
reply.lines.map do |line|

0 commit comments

Comments
 (0)