Skip to content

Commit

Permalink
don't change the function now as it doesn't seem equivalent
Browse files Browse the repository at this point in the history
  • Loading branch information
ldemailly committed Apr 3, 2024
1 parent 558a916 commit 5e3109f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fgrpc/grpcrunner.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func Dial(o *GRPCRunnerOptions) (*grpc.ClientConn, error) {
}))
}
opts = append(opts, o.dialOptions...)
conn, err := grpc.NewClient(serverAddr, opts...)
conn, err := grpc.Dial(serverAddr, opts...) //nolint:staticcheck // NewClient() makes the tests fail, not sure why
if err != nil {
log.Errf("failed to connect to %s with certificate %s and override %s: %v", serverAddr, o.CACert, o.CertOverride, err)
}
Expand Down

0 comments on commit 5e3109f

Please sign in to comment.