Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[4.9.x] Add validation in broker/namesrv configure updating command#7649

Merged
ShannonDing merged 1 commit intoapache:4.9.xapache/rocketmq:4.9.xfrom
RongtongJin:4.9.x-fix-1212RongtongJin/rocketmq:4.9.x-fix-1212Copy head branch name to clipboard
Dec 15, 2023
Merged

[4.9.x] Add validation in broker/namesrv configure updating command#7649
ShannonDing merged 1 commit intoapache:4.9.xapache/rocketmq:4.9.xfrom
RongtongJin:4.9.x-fix-1212RongtongJin/rocketmq:4.9.x-fix-1212Copy head branch name to clipboard

Conversation

@RongtongJin
Copy link
Copy Markdown
Contributor

Which Issue(s) This PR Fixes

Fixes #issue_id

Brief Description

How Did You Test This Change?

@RongtongJin RongtongJin changed the title Add validation in broker/namesrv configure updating command [4.9.x] Add validation in broker/namesrv configure updating command Dec 13, 2023
Copy link
Copy Markdown
Member

@cserwen cserwen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ShannonDing ShannonDing merged commit 20b8388 into apache:4.9.x Dec 15, 2023
if (properties != null) {
if (validateBlackListConfigExist(properties)) {
response.setCode(ResponseCode.NO_PERMISSION);
response.setRemark("Can not update config in black list.");
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should return response here!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.