Skip to content

Commit

Permalink
Fix incorrect naming in update configuration protection
Browse files Browse the repository at this point in the history
  • Loading branch information
RongtongJin authored and ChineseTony committed Feb 23, 2024
1 parent f0582ec commit d7faf80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ private RemotingCommand updateConfig(ChannelHandlerContext ctx, RemotingCommand
return response;
}

if (properties.containsKey("kvConfigPath") || properties.containsKey("configStorePathName")) {
if (properties.containsKey("kvConfigPath") || properties.containsKey("configStorePath")) {
response.setCode(ResponseCode.NO_PERMISSION);
response.setRemark("Can not update config path");
return response;
Expand Down

0 comments on commit d7faf80

Please sign in to comment.