Skip to content

Commit

Permalink
[#230] status: Add EACL_NOT_FOUND status
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Karpy <[email protected]>
  • Loading branch information
carpawell authored and realloc committed Aug 1, 2022
1 parent 10f18e4 commit 22a7d8b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
4 changes: 3 additions & 1 deletion container/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 3 additions & 1 deletion proto-docs/container.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
| ---- | ----- | ------ |
Expand Down
1 change: 1 addition & 0 deletions proto-docs/status.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |



Expand Down
3 changes: 3 additions & 0 deletions status/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 22a7d8b

Please sign in to comment.