From 046022586960b1e230984f05db7cfb41cacf41b8 Mon Sep 17 00:00:00 2001 From: Angira Kekteeva Date: Thu, 30 Sep 2021 21:05:27 +0300 Subject: [PATCH] [#272] Fix linter warning Signed-off-by: Angira Kekteeva --- api/layer/container.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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) {