[#307] status: Support EACL_NOT_FOUND status code

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-08-01 17:17:48 +03:00 committed by Stanislav Bogatyrev
parent a0f7c903d3
commit 7a99cc916c
6 changed files with 67 additions and 1 deletions

View file

@ -554,7 +554,8 @@ func (x *ResContainerEACL) setTable(table *eacl.Table) {
//
// Return statuses:
// - global (see Client docs);
// - *apistatus.ContainerNotFound.
// - *apistatus.ContainerNotFound;
// - *apistatus.EACLNotFound.
func (c *Client) ContainerEACL(ctx context.Context, prm PrmContainerEACL) (*ResContainerEACL, error) {
// check parameters
switch {