forked from TrueCloudLab/frostfs-node
[#1437] node: Fix contextcheck linter
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
6921a89061
commit
7429553266
209 changed files with 1068 additions and 1036 deletions
|
@ -21,7 +21,7 @@ func (r *request) executeOnContainer(ctx context.Context) {
|
|||
)
|
||||
|
||||
// initialize epoch number
|
||||
ok := r.initEpoch()
|
||||
ok := r.initEpoch(ctx)
|
||||
if !ok {
|
||||
return
|
||||
}
|
||||
|
@ -50,7 +50,7 @@ func (r *request) processCurrentEpoch(ctx context.Context, localStatus int) bool
|
|||
zap.Uint64("number", r.curProcEpoch),
|
||||
)
|
||||
|
||||
traverser, ok := r.generateTraverser(r.address())
|
||||
traverser, ok := r.generateTraverser(ctx, r.address())
|
||||
if !ok {
|
||||
return true
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue