[#92] Fix lint error
All checks were successful
/ DCO (pull_request) Successful in 1m11s
/ Builds (1.20) (pull_request) Successful in 2m2s
/ Builds (1.21) (pull_request) Successful in 1m23s
/ Vulncheck (pull_request) Successful in 1m57s
/ Lint (pull_request) Successful in 3m43s
/ Tests (1.20) (pull_request) Successful in 2m7s
/ Tests (1.21) (pull_request) Successful in 2m3s

Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
This commit is contained in:
Denis Kirillov 2023-11-07 11:08:46 +03:00
parent d0e9020481
commit 575b36be2b

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)
} }