Skip to content

Commit 03c0af2

Browse files
committed
Merge pull request #685 from HeartSaVioR/master
Fixed critical JedisCluster bug : hlen calls hdel
2 parents 4f69387 + d7cd3a0 commit 03c0af2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/redis/clients/jedis/JedisCluster.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ public Long hlen(final String key) {
394394
maxRedirections) {
395395
@Override
396396
public Long execute(Jedis connection) {
397-
return connection.hdel(key);
397+
return connection.hlen(key);
398398
}
399399
}.run(key);
400400
}

0 commit comments

Comments
 (0)