You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/06/16 08:02:36 UTC

[GitHub] [pulsar] coderzc commented on a diff in pull request #16076: [fix][broker] Fix NPE when get /admin/v2/namespaces/public/default/maxTopicsPerNamespace

coderzc commented on code in PR #16076:
URL: https://github.com/apache/pulsar/pull/16076#discussion_r898809267


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/NamespacesBase.java:
##########
@@ -2692,7 +2692,7 @@ protected OffloadPoliciesImpl internalGetOffloadPolicies() {
         return (OffloadPoliciesImpl) policies.offload_policies;
     }
 
-    protected int internalGetMaxTopicsPerNamespace() {
+    protected Integer internalGetMaxTopicsPerNamespace() {

Review Comment:
   Agree, I changed it and add a test assert for this.



-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org