From 7ae06a588ae4a66a32cea0968078dd9592f04b5b Mon Sep 17 00:00:00 2001 From: Denis Kirillov Date: Tue, 7 Nov 2023 11:08:46 +0300 Subject: [PATCH] [#92] Fix lint error Signed-off-by: Denis Kirillov --- internal/handler/download.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/handler/download.go b/internal/handler/download.go index 8ee76bf..4b94e3b 100644 --- a/internal/handler/download.go +++ b/internal/handler/download.go @@ -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) { - var prm pool.PrmContainerGet - prm.SetContainerID(cnrID) + prm := pool.PrmContainerGet{ + ContainerID: cnrID, + } return h.pool.GetContainer(ctx, prm) }