forked from TrueCloudLab/frostfs-node
[#148] linter: Add containedctx linter
Context has to be passed as an argument: https://pkg.go.dev/context Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
2dc86058c3
commit
cc8ff015b4
22 changed files with 23 additions and 0 deletions
|
@ -16,6 +16,7 @@ import (
|
|||
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user"
|
||||
)
|
||||
|
||||
// nolint: containedctx
|
||||
type Streamer struct {
|
||||
*cfg
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue