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/02/23 04:26:16 UTC

[GitHub] [pulsar] codelipenghui commented on a change in pull request #14409: Make sure policies.is_allow_auto_update_schema not null

codelipenghui commented on a change in pull request #14409:
URL: https://github.com/apache/pulsar/pull/14409#discussion_r812550895



##########
File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/AdminResource.java
##########
@@ -293,6 +293,9 @@ protected Policies getNamespacePolicies(NamespaceName namespaceName) {
             BundlesData bundleData = pulsar().getNamespaceService().getNamespaceBundleFactory()
                     .getBundles(namespaceName).getBundlesData();
             policies.bundles = bundleData != null ? bundleData : policies.bundles;
+            if (policies.is_allow_auto_update_schema == null) {

Review comment:
       Please add a comment here to indicate to return the broker value here is for keeping compatibility.




-- 
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