diff --git a/api/layer/container.go b/api/layer/container.go index 0be4739ce..63aa08a7d 100644 --- a/api/layer/container.go +++ b/api/layer/container.go @@ -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) {