You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/07/27 15:08:38 UTC

[GitHub] [rocketmq] yuz10 commented on a change in pull request #3176: [Issue #3175] check acl config before update. otherwise broker may fail to start

yuz10 commented on a change in pull request #3176:
URL: https://github.com/apache/rocketmq/pull/3176#discussion_r677544996



##########
File path: acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionManager.java
##########
@@ -130,6 +130,7 @@ public boolean updateAccessConfig(PlainAccessConfig plainAccessConfig) {
             log.error("Parameter value plainAccessConfig is null,Please check your parameter");
             throw new AclException("Parameter value plainAccessConfig is null, Please check your parameter");
         }
+        buildPlainAccessResource(plainAccessConfig); // check config

Review comment:
       Fixed. Thanks for your advice.




-- 
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: dev-unsubscribe@rocketmq.apache.org

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