Skip to content

Commit 1448e2f

Browse files
committed
Fix Distributed#httl signature
1 parent 83496ac commit 1448e2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/redis/distributed.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -922,8 +922,8 @@ def hexpire(key, ttl, *fields)
922922
node_for(key).hexpire(key, ttl, *fields)
923923
end
924924

925-
def httl(key, ttl, *fields)
926-
node_for(key).httl(key, ttl, *fields)
925+
def httl(key, *fields)
926+
node_for(key).httl(key, *fields)
927927
end
928928

929929
# Scan a hash

0 commit comments

Comments
 (0)