Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace grpc.Dial with grpc.NewClient
grpc.Dial and grpc.DialWithContext were deprecated and mention their replacement as grpc.NewClient. https://pkg.go.dev/google.golang.org/[email protected]#Dial One consequence of this change is that the target address needs to have "unix:" or "unix://" prepended to the absolute path for NewClient to create a connection properly. Signed-off-by: Michael Shen <[email protected]>
- Loading branch information