From 0deb4d505acfd32ad6f663db982e3fb6cd9d5e98 Mon Sep 17 00:00:00 2001
From: Martin Schmollinger <martin.schmollinger@reutlingen-university.de>
Date: Sun, 16 Jun 2024 16:06:53 +0200
Subject: [PATCH] Replaced depricated code to establish a connection

---
 hello_client/main.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hello_client/main.go b/hello_client/main.go
index 095843d..1dae7ed 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)
-- 
GitLab