Skip to content

Commit ba135e2

Browse files
committed
Revert "refactor for lint"
This reverts commit dcb4562.
1 parent f0d204f commit ba135e2

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

pkg/chipingress/client_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@ import (
77
"time"
88

99
ce "github.com/cloudevents/sdk-go/v2"
10+
"google.golang.org/grpc"
1011
"github.com/stretchr/testify/assert"
1112
"github.com/stretchr/testify/require"
12-
gp "google.golang.org/grpc"
13+
"google.golang.org/grpc"
1314
"google.golang.org/grpc/credentials"
1415
"google.golang.org/grpc/credentials/insecure"
1516
"google.golang.org/grpc/metadata"
1617
"google.golang.org/protobuf/proto"
17-
18+
1819
"github.com/smartcontractkit/chainlink-common/pkg/chipingress/mocks"
1920
"github.com/smartcontractkit/chainlink-common/pkg/chipingress/pb"
2021
)
@@ -594,7 +595,7 @@ func TestHeaderInterceptor(t *testing.T) {
594595

595596
// Create a mock invoker that captures the context
596597
var capturedCtx context.Context
597-
mockInvoker := func(ctx context.Context, method string, req, reply interface{}, cc *gp.ClientConn, opts ...gp.CallOption) error {
598+
mockInvoker := func(ctx context.Context, method string, req, reply interface{}, cc *grpc.ClientConn, opts ...grpc.CallOption) error {
598599
capturedCtx = ctx
599600
return nil
600601
}

0 commit comments

Comments
 (0)