[#212] reputationsvc: Resolve containedctx linter

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2023-04-04 17:47:00 +03:00 committed by Gitea
parent e2f13d03d7
commit 469e8a6e59
3 changed files with 4 additions and 24 deletions

View file

@ -47,7 +47,7 @@ type Controller struct {
opts *options
mtx sync.Mutex
mCtx map[uint64]*iterContextCancel
mCtx map[uint64]*iterContext
}
const invalidPrmValFmt = "invalid parameter %s (%T):%v"
@ -81,6 +81,6 @@ func New(prm Prm, opts ...Option) *Controller {
return &Controller{
prm: prm,
opts: o,
mCtx: make(map[uint64]*iterContextCancel),
mCtx: make(map[uint64]*iterContext),
}
}