forked from TrueCloudLab/frostfs-node
[#148] linter: Add contextcheck linter
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
481a1ca6f3
commit
44b86bac5a
8 changed files with 10 additions and 1 deletions
|
@ -43,6 +43,7 @@ func (exec *execCtx) processNode(ctx context.Context, info client.NodeInfo) bool
|
|||
// has already been streamed to the requesting party
|
||||
if obj != nil {
|
||||
exec.collectedObject = obj
|
||||
//nolint: contextcheck
|
||||
exec.writeCollectedObject()
|
||||
}
|
||||
case errors.As(err, &errRemoved):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue