diff --git a/hello_client/main.go b/hello_client/main.go index 095843decadb5db16a9821b80455587c71d52ceb..1dae7edf2b048d10aa10452b9b4759762593bdff 100644 --- a/hello_client/main.go +++ b/hello_client/main.go @@ -18,7 +18,7 @@ const ( func main() { // Set up a connection to the server. - //conn, err := grpc.Dial(address, grpc.WithInsecure(), grpc.WithBlock()) + //Depricated: conn, err := grpc.Dial(address, grpc.WithInsecure(), grpc.WithBlock()) conn, err := grpc.NewClient(address, grpc.WithTransportCredentials(insecure.NewCredentials())) if err != nil { log.Fatalf("did not connect: %v", err)