forked from TrueCloudLab/frostfs-api-go
[#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:
parent
1cab39337e
commit
a6e2ab3845
3 changed files with 3 additions and 2 deletions
|
@ -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 {
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
type CallOption func(*callParameters)
|
||||
|
||||
type callParameters struct {
|
||||
ctx context.Context
|
||||
ctx context.Context // nolint:containedctx
|
||||
}
|
||||
|
||||
func defaultCallParameters() *callParameters {
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue