forked from TrueCloudLab/frostfs-node
[#212] reputationsvc: Resolve containedctx linter
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
e2f13d03d7
commit
469e8a6e59
3 changed files with 4 additions and 24 deletions
|
@ -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),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue