Skip to content

Commit

Permalink
Promptly return a response when the validation parameters cannot be m…
Browse files Browse the repository at this point in the history
…odified
  • Loading branch information
RongtongJin committed Feb 22, 2024
1 parent a6e912d commit ee652df
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@ private synchronized RemotingCommand updateBrokerConfig(ChannelHandlerContext ct
if (validateBlackListConfigExist(properties)) {
response.setCode(ResponseCode.NO_PERMISSION);
response.setRemark("Can not update config in black list.");
return response;
}

log.info("updateBrokerConfig, new config: [{}] client: {} ", properties, ctx.channel().remoteAddress());
Expand Down

0 comments on commit ee652df

Please sign in to comment.