jdeppe-pivotal commented on a change in pull request #7019:
URL: https://github.com/apache/geode/pull/7019#discussion_r738654191



##########
File path: 
geode-for-redis/src/main/java/org/apache/geode/redis/internal/executor/pubsub/PubSubExecutor.java
##########
@@ -54,7 +54,7 @@ public RedisResponse executeCommand(Command command, 
ExecutionHandlerContext con
         return RedisResponse
             .error(String.format(ERROR_UNKNOWN_PUBSUB_SUBCOMMAND, new 
String(subCommand)));
       }
-      long numPatResponse = 
context.getPubSub().findNumberOfSubscribedPatterns();
+      long numPatResponse = 
context.getPubSub().findNumberOfUniqueSubscribedPatterns();

Review comment:
       Yes it did. It seems like it is correct as per the documentation for 
`PUBSUB NUMPAT`.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to