[#92] Fix lint error

Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
This commit is contained in:
Denis Kirillov 2023-11-07 11:08:46 +03:00 committed by Alexey Vanin
parent 33ddba05ce
commit 7ae06a588a

View file

@ -64,8 +64,9 @@ func (h *Handler) search(ctx context.Context, cid *cid.ID, key, val string, op o
} }
func (h *Handler) getContainer(ctx context.Context, cnrID cid.ID) (container.Container, error) { func (h *Handler) getContainer(ctx context.Context, cnrID cid.ID) (container.Container, error) {
var prm pool.PrmContainerGet prm := pool.PrmContainerGet{
prm.SetContainerID(cnrID) ContainerID: cnrID,
}
return h.pool.GetContainer(ctx, prm) return h.pool.GetContainer(ctx, prm)
} }