Преглед изворни кода

Fix misapplied arguments to multi commands

James Allen пре 10 година
родитељ
комит
c6605ed5f0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      services/document-updater/app/coffee/RedisBackend.coffee

+ 1 - 1
services/document-updater/app/coffee/RedisBackend.coffee

@@ -92,7 +92,7 @@ for command, key_pos of COMMANDS
 				key = key_builder(client.key_schema)
 				args_with_key = args.slice(0)
 				args_with_key[key_pos] = key
-				client.rclient[command] key, args...
+				client.rclient[command] args_with_key...
 
 compareResults = (results) ->
 	return if results.length < 2