Follow up changes on "pubsub numsub" output
* String, String to String, Long * We're avoiding to break backward compatibility ** convert Long to String so that return type is same to old type
This commit is contained in:
@@ -3388,7 +3388,7 @@ public class Jedis extends BinaryJedis implements JedisCommands,
|
||||
public Map<String, String> pubsubNumSub(String... channels) {
|
||||
checkIsInMulti();
|
||||
client.pubsubNumSub(channels);
|
||||
return BuilderFactory.STRING_MAP
|
||||
return BuilderFactory.PUBSUB_NUMSUB_MAP
|
||||
.build(client.getBinaryMultiBulkReply());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user