[#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>
pull/27/head
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: