Skip to content

Commit

Permalink
chore: change deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
crgisch committed Sep 9, 2024
1 parent 12370e4 commit 9036cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/build/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() })

Expand Down

0 comments on commit 9036cd5

Please sign in to comment.