Skip to content

Commit

Permalink
Merge pull request #685 from HeartSaVioR/master
Browse files Browse the repository at this point in the history
Fixed critical JedisCluster bug : hlen calls hdel
  • Loading branch information
HeartSaVioR committed Aug 4, 2014
2 parents 4f69387 + d7cd3a0 commit 03c0af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/redis/clients/jedis/JedisCluster.java
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ public Long hlen(final String key) {
maxRedirections) {
@Override
public Long execute(Jedis connection) {
return connection.hdel(key);
return connection.hlen(key);
}
}.run(key);
}
Expand Down

0 comments on commit 03c0af2

Please sign in to comment.