From 9036cd5aef99cba35ec3942de7bbec03826741fc 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 944675a..31ef188 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() })