Skip to content
This repository was archived by the owner on Jan 9, 2024. It is now read-only.

Commit 4961bd8

Browse files
committed
Fix bug where slowlog_get command would fail on TypeError due to lambda implementation
1 parent 3756bf1 commit 4961bd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rediscluster/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ def _merge_result(self, command, res, **kwargs):
512512
`res` is a dict with the following structure Dict(NodeName, CommandResult)
513513
"""
514514
if command in self.result_callbacks:
515-
return self.result_callbacks[command](command, res, **kwargs)
515+
return self.result_callbacks[command](command, res)
516516

517517
# Default way to handle result
518518
return first_key(command, res)

0 commit comments

Comments
 (0)