Skip to content

Commit 3fb1fd6

Browse files
committed
fix lint
1 parent 43de45f commit 3fb1fd6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

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

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

retry/errors_data_test.go

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

0 commit comments

Comments
 (0)