[#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
}
if err := n.waitEACLPresence(ctx, cid, table, defaultWaitParams()); err != nil {
return err
}
return nil
return n.waitEACLPresence(ctx, cid, table, defaultWaitParams())
}
func (n *layer) GetContainerEACL(ctx context.Context, cid *cid.ID) (*eacl.Table, error) {