forked from TrueCloudLab/frostfs-api
[#230] status: Add EACL_NOT_FOUND status
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
10f18e4b69
commit
22a7d8be6c
4 changed files with 10 additions and 2 deletions
|
@ -73,7 +73,9 @@ service ContainerService {
|
|||
// container eACL has been successfully read;
|
||||
// - Common failures (SECTION_FAILURE_COMMON);
|
||||
// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
|
||||
// container not found.
|
||||
// container not found;
|
||||
// - **EACL_NOT_FOUND** (3073, SECTION_CONTAINER): \
|
||||
// eACL table not found.
|
||||
rpc GetExtendedACL(GetExtendedACLRequest) returns (GetExtendedACLResponse);
|
||||
|
||||
// Announces the space values used by the container for P2P synchronization.
|
||||
|
|
|
@ -157,7 +157,9 @@ Statuses:
|
|||
container eACL has been successfully read;
|
||||
- Common failures (SECTION_FAILURE_COMMON);
|
||||
- **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
|
||||
container not found.
|
||||
container not found;
|
||||
- **EACL_NOT_FOUND** (3073, SECTION_CONTAINER): \
|
||||
eACL table not found.
|
||||
|
||||
| Name | Input | Output |
|
||||
| ---- | ----- | ------ |
|
||||
|
|
|
@ -100,6 +100,7 @@ Section of statuses for container-related operations.
|
|||
| Name | Number | Description |
|
||||
| ---- | ------ | ----------- |
|
||||
| CONTAINER_NOT_FOUND | 0 | [**3072**] Container not found. |
|
||||
| EACL_NOT_FOUND | 1 | [**3073**] eACL table not found. |
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -127,6 +127,9 @@ enum Object {
|
|||
enum Container {
|
||||
// [**3072**] Container not found.
|
||||
CONTAINER_NOT_FOUND = 0;
|
||||
|
||||
// [**3073**] eACL table not found.
|
||||
EACL_NOT_FOUND = 1;
|
||||
}
|
||||
|
||||
// Section of statuses for session-related operations.
|
||||
|
|
Loading…
Reference in a new issue