[#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
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:
parent
d0e9020481
commit
575b36be2b
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue