From 7ae67c3991edb0ce15cc2aeb3ea1b7b1ac4814e3 Mon Sep 17 00:00:00 2001 From: crgisch Date: Mon, 9 Sep 2024 13:09:40 -0300 Subject: [PATCH] chore: change deprecated method --- pkg/build/server_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/build/server_test.go b/pkg/build/server_test.go index 27c6240..828d5a9 100644 --- a/pkg/build/server_test.go +++ b/pkg/build/server_test.go @@ -373,7 +373,7 @@ func setupServer(t *testing.T, bs pb.BuildServer) string { func setupClient(t *testing.T, address string) pb.BuildClient { t.Helper() - conn, err := grpc.Dial(address, grpc.WithTransportCredentials(insecure.NewCredentials())) + conn, err := grpc.NewClient(address, grpc.WithTransportCredentials(insecure.NewCredentials())) require.NoError(t, err) t.Cleanup(func() { conn.Close() })