If grpc.DialContext() fails, a nil connection is returned. Check the error before calling conn.Close().
6.7 KiB
6.7 KiB
If grpc.DialContext() fails, a nil connection is returned. Check the error before calling conn.Close().