[#168] pool: Adopt replacement of pointer slices with struct slices
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
9c5d3d9dfa
commit
b91e25f782
1 changed files with 1 additions and 1 deletions
|
@ -1110,7 +1110,7 @@ func (p *Pool) GetContainer(ctx context.Context, cid *cid.ID, opts ...CallOption
|
||||||
return res.Container(), nil
|
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...)
|
cfg := cfgFromOpts(opts...)
|
||||||
cp, err := p.conn(ctx, cfg)
|
cp, err := p.conn(ctx, cfg)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue