Skip to content

Commit

Permalink
Rename CLIENT_ID_MISSING as CLIENT_ID_REQUIRED (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-ai authored Jun 29, 2022
1 parent eb30328 commit 0d352db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apache/rocketmq/v2/definition.proto
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ enum Code {
// Message is corrupted.
MESSAGE_CORRUPTED = 40016;
// Request is rejected due to missing of x-mq-client-id header.
CLIENT_ID_MISSING = 40017;
CLIENT_ID_REQUIRED = 40017;

// Generic code indicates that the client request lacks valid authentication
// credentials for the requested resource.
Expand Down
2 changes: 1 addition & 1 deletion status_code.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
| UNRECOGNIZED_CLIENT_TYPE |||||||||||
| MULTIPLE_RESULTS |||||||||||
| BAD_REQUEST |||||||||||
| CLIENT_ID_MISSING |||||||||||
| CLIENT_ID_REQUIRED |||||||||||
| INTERNAL_SERVER_ERROR |||||||||||
| NOT_IMPLEMENTED |||||||||||
| PROXY_TIMEOUT |||||||||||
Expand Down

0 comments on commit 0d352db

Please sign in to comment.