diff --git a/pkg/morph/client/container/wrapper/eacl.go b/pkg/morph/client/container/wrapper/eacl.go index 3b8430345..2f11b744b 100644 --- a/pkg/morph/client/container/wrapper/eacl.go +++ b/pkg/morph/client/container/wrapper/eacl.go @@ -7,7 +7,7 @@ import ( "github.com/pkg/errors" ) -var errEACLNotFound = errors.New("extended ACL table is not set for this container") +var ErrEACLNotFound = errors.New("extended ACL table is not set for this container") // GetEACL reads the extended ACL table from NeoFS system // through Container contract call. @@ -34,7 +34,7 @@ func (w *Wrapper) GetEACL(cid *container.ID) (*eacl.Table, []byte, error) { // since unsigned table cannot be approved in the storage by design. sig := rpcAnswer.Signature() if len(sig) == 0 { - return nil, nil, errEACLNotFound + return nil, nil, ErrEACLNotFound } table := eacl.NewTable()