Skip to content

Commit

Permalink
Merge pull request #444 from reiinoldo/main
Browse files Browse the repository at this point in the history
Fix: Remove deprecated grpc DialContext
  • Loading branch information
loafoe authored Dec 12, 2024
2 parents 1c3659c + 9204713 commit f271d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/proto/resource.pb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func TestProtoFilterRequest(t *testing.T) {

func TestFilter(t *testing.T) {
ctx := context.Background()
conn, err := grpc.DialContext(ctx, "bufnet", grpc.WithContextDialer(bufDialer), grpc.WithTransportCredentials(insecure.NewCredentials()))
conn, err := grpc.NewClient("passthrough://bufnet", grpc.WithContextDialer(bufDialer), grpc.WithTransportCredentials(insecure.NewCredentials()))
if err != nil {
t.Fatalf("Failed to dial bufnet: %v", err)
}
Expand Down

0 comments on commit f271d5f

Please sign in to comment.