forked from TrueCloudLab/frostfs-http-gw
[#92] Fix lint error
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
This commit is contained in:
parent
33ddba05ce
commit
7ae06a588a
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