[#272] Fix linter warning

Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
This commit is contained in:
Angira Kekteeva 2021-09-30 21:05:27 +03:00 committed by Alex Vanin
parent 0f39e7cf66
commit 0460225869

View file

@ -161,11 +161,7 @@ func (n *layer) setContainerEACLTable(ctx context.Context, cid *cid.ID, table *e
return err return err
} }
if err := n.waitEACLPresence(ctx, cid, table, defaultWaitParams()); err != nil { return n.waitEACLPresence(ctx, cid, table, defaultWaitParams())
return err
}
return nil
} }
func (n *layer) GetContainerEACL(ctx context.Context, cid *cid.ID) (*eacl.Table, error) { func (n *layer) GetContainerEACL(ctx context.Context, cid *cid.ID) (*eacl.Table, error) {