Skip to content

Commit e32dff7

Browse files
committed
fix
1 parent b058beb commit e32dff7

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

internal/xsql/badconn/badconn_go1.18_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ var errsToCheck = []error{
2424
fmt.Errorf("unknown error"),
2525
context.DeadlineExceeded,
2626
context.Canceled,
27-
//nolint:nolintlint
28-
//nolint:staticcheck // ignore SA1019
29-
xerrors.FromGRPCError(grpc.ErrClientConnClosing),
27+
xerrors.FromGRPCError(grpc.ErrClientConnClosing), //nolint:staticcheck // ignore SA1019
3028
xerrors.Transport(),
3129
xerrors.Transport(
3230
xerrors.WithCode(grpcCodes.Canceled),

retry/errors_data_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@ var errsToCheck = []struct {
6464
},
6565
},
6666
{
67-
//nolint:nolintlint
68-
//nolint:staticcheck // ignore SA1019
69-
err: xerrors.FromGRPCError(grpc.ErrClientConnClosing),
67+
err: xerrors.FromGRPCError(grpc.ErrClientConnClosing), //nolint:staticcheck // ignore SA1019
7068
backoff: backoff.TypeFast,
7169
deleteSession: true,
7270
canRetry: map[idempotency]bool{

0 commit comments

Comments
 (0)