Skip to content

Commit 72ecad0

Browse files
committed
fix: 修改注释
1 parent 66a31e1 commit 72ecad0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

protos/account.proto

+8-8
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ message DeleteAccountRequest {
8989
message DeleteAccountResponse {
9090
}
9191

92-
// ********** Below is the interfaces for optional feature: resource management ***************
92+
// ********** Below is the interfaces for optional feature: RESOURCE_MANAGEMENT ***************
9393
message BlockAccountWithPartitionsRequest {
9494
string account_name = 1;
9595
// when the value exists: block specified partition(s) of the account
@@ -151,7 +151,7 @@ message GetAllAccountsWithUsersAndBlockedDetailsResponse {
151151
repeated ClusterAccountInfoWithBlockedDetails accounts = 1;
152152
}
153153

154-
// ********** Above is the interfaces for optional feature: resource management ***************
154+
// ********** Above is the interfaces for optional feature: RESOURCE_MANAGEMENT ***************
155155

156156

157157
service AccountService {
@@ -218,9 +218,9 @@ service AccountService {
218218
rpc DeleteAccount(DeleteAccountRequest) returns (DeleteAccountResponse);
219219

220220

221-
// ********** Below is the rpcs for optional feature: resource management ***************
221+
// ********** Below is the rpcs for optional feature: RESOURCE_MANAGEMENT ***************
222222
/*
223-
* FOR OPTIOANL FEATURE: RESOURCE MANAGEMENT
223+
* FOR OPTIOANL FEATURE: RESOURCE_MANAGEMENT
224224
* description: block an account with specified partitions
225225
* errors:
226226
* - account not exist
@@ -230,7 +230,7 @@ service AccountService {
230230
*/
231231
rpc BlockAccountWithPartitions(BlockAccountWithPartitionsRequest) returns (BlockAccountWithPartitionsResponse);
232232
/*
233-
* FOR OPTIOANL FEATURE: RESOURCE MANAGEMENT
233+
* FOR OPTIOANL FEATURE: RESOURCE_MANAGEMENT
234234
* description: unblock an account with specified partitions
235235
* errors:
236236
* - account not exist
@@ -240,19 +240,19 @@ service AccountService {
240240
*/
241241
rpc UnblockAccountWithPartitions(UnblockAccountWithPartitionsRequest) returns (UnblockAccountWithPartitionsResponse);
242242
/*
243-
* FOR OPTIOANL FEATURE: RESOURCE MANAGEMENT
243+
* FOR OPTIOANL FEATURE: RESOURCE_MANAGEMENT
244244
* description: query if an account is blocked with specified partitions
245245
* errors:
246246
* - account not exist
247247
* NOT_FOUND, ACCOUNT_NOT_FOUND, {}
248248
*/
249249
rpc QueryAccountBlockStatusWithPartitions(QueryAccountBlockStatusWithPartitionsRequest) returns (QueryAccountBlockStatusWithPartitionsResponse);
250250
/*
251-
* FOR OPTIOANL FEATURE: RESOURCE MANAGEMENT
251+
* FOR OPTIOANL FEATURE: RESOURCE_MANAGEMENT
252252
* description: get all accounts with blocked partitions' detail and all associated users
253253
* special case:
254254
* - account no users, exclude this account
255255
*/
256256
rpc GetAllAccountsWithUsersAndBlockedDetails(GetAllAccountsWithUsersAndBlockedDetailsRequest) returns (GetAllAccountsWithUsersAndBlockedDetailsResponse);
257-
// ********** Above is the interfaces for optional feature: resource management ***************
257+
// ********** Above is the interfaces for optional feature: RESOURCE_MANAGEMENT ***************
258258
}

0 commit comments

Comments
 (0)