[#27] *: Add linter exceptions

Each of these is not easy to do, so add an exeption for now.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2023-05-03 14:04:03 +03:00
parent 1cab39337e
commit a6e2ab3845
3 changed files with 3 additions and 2 deletions

View file

@ -124,7 +124,7 @@ func (cs *clientStream) RecvMsg(m interface{}) error {
type serverStream struct {
originalStream grpc.ServerStream
ctx context.Context
ctx context.Context // nolint:containedctx
}
func newgRPCServerStream(ctx context.Context, originalStream grpc.ServerStream) grpc.ServerStream {

View file

@ -8,7 +8,7 @@ import (
type CallOption func(*callParameters)
type callParameters struct {
ctx context.Context
ctx context.Context // nolint:containedctx
}
func defaultCallParameters() *callParameters {

View file

@ -10,6 +10,7 @@ import (
"git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session"
)
// nolint:funlen
func serviceMessageBody(req interface{}) stableMarshaler {
switch v := req.(type) {
default: