diff --git a/app/utils/rpc_client.go b/app/utils/rpc_client.go index c83b33c..96bf079 100644 --- a/app/utils/rpc_client.go +++ b/app/utils/rpc_client.go @@ -23,7 +23,7 @@ func GetBusinessIntClient(url, port string) pb.BusinessIntClient { func GetBusinessExtClient(url, port string) pb.BusinessExtClient { target := fmt.Sprintf("%s:%s", url, port) conn, err := grpc.Dial(target, grpc.WithInsecure()) - //defer conn.Close() + defer conn.Close() if err != nil { fmt.Println(err) return nil