diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 096ec55..f857090 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,7 +4,7 @@
-
+
@@ -143,7 +143,6 @@
-
@@ -168,7 +167,8 @@
-
+
+
true
diff --git a/pkg/hyper/conn.go b/pkg/hyper/conn.go
index 391e9a2..951d2d6 100644
--- a/pkg/hyper/conn.go
+++ b/pkg/hyper/conn.go
@@ -18,7 +18,11 @@ type HyperConn struct {
}
func NewHyperConn(addr string) *HyperConn {
- return &HyperConn{Addr: addr}
+ return &HyperConn{
+ Addr: addr,
+
+ cacheGrpcConn: make(map[string]*grpc.ClientConn),
+ }
}
func (v *HyperConn) DiscoverServiceGRPC(name string) (*grpc.ClientConn, error) {