-
Notifications
You must be signed in to change notification settings - Fork 2.7k
fix: check if config
contains duplicate resources in API-driven standalone mode
#12317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
config
contains duplicate resources in API-driven standalone mode
t/admin/standalone.t
Outdated
X-API-KEY: edd1c9f034335f136f87ad84b625c8f1 | ||
--- error_code: 400 | ||
--- response_body | ||
{"error_msg":"duplicate id found r1"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please include the resource type in error message.
t/admin/standalone.t
Outdated
X-API-KEY: edd1c9f034335f136f87ad84b625c8f1 | ||
--- error_code: 400 | ||
--- response_body | ||
{"error_msg":"duplicate username found consumer1"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
add duplicate resource check in API-driven standalone mode
Which issue(s) this PR fixes:
Fixes #12259
Checklist