Skip to content

Commit c501d6b

Browse files
committed
chore: fix inconsistent function name in comment
Signed-off-by: letreturn <[email protected]>
1 parent d3f136a commit c501d6b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Documentation/dev-guide/apispec/swagger/rpc.swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@
495495
},
496496
"/v3/auth/user/grant": {
497497
"post": {
498-
"summary": "UserGrant grants a role to a specified user.",
498+
"summary": "UserGrantRole grants a role to a specified user.",
499499
"operationId": "Auth_UserGrantRole",
500500
"responses": {
501501
"200": {

api/etcdserverpb/rpc.pb.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/etcdserverpb/rpc.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ service Auth {
345345
};
346346
}
347347

348-
// UserGrant grants a role to a specified user.
348+
// UserGrantRole grants a role to a specified user.
349349
rpc UserGrantRole(AuthUserGrantRoleRequest) returns (AuthUserGrantRoleResponse) {
350350
option (google.api.http) = {
351351
post: "/v3/auth/user/grant"

0 commit comments

Comments
 (0)