diff --git a/cluster.rb b/cluster.rb index 2f870aa..244ef93 100644 --- a/cluster.rb +++ b/cluster.rb @@ -130,6 +130,8 @@ def get_key_from_command(argv) case argv[0].to_s.downcase when "info","multi","exec","slaveof","config","shutdown" return nil + when "object" + return argv[2] else # Unknown commands, and all the commands having the key # as first argument are handled here: