From b91e25f782527e65dfdd229b72b1e19a921ae7ea Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Fri, 11 Mar 2022 12:18:13 +0300 Subject: [PATCH] [#168] pool: Adopt replacement of pointer slices with struct slices Signed-off-by: Alex Vanin --- pool/pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pool/pool.go b/pool/pool.go index 38fdc69..471c97c 100644 --- a/pool/pool.go +++ b/pool/pool.go @@ -1110,7 +1110,7 @@ func (p *Pool) GetContainer(ctx context.Context, cid *cid.ID, opts ...CallOption return res.Container(), nil } -func (p *Pool) ListContainers(ctx context.Context, ownerID *owner.ID, opts ...CallOption) ([]*cid.ID, error) { +func (p *Pool) ListContainers(ctx context.Context, ownerID *owner.ID, opts ...CallOption) ([]cid.ID, error) { cfg := cfgFromOpts(opts...) cp, err := p.conn(ctx, cfg) if err != nil {