From 1236a2644c5185197ac76a30f8a5629367896fcd Mon Sep 17 00:00:00 2001 From: crusader Date: Tue, 3 Jul 2018 00:18:05 +0900 Subject: [PATCH] ing --- client/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/client.go b/client/client.go index 2fe3e24..310bfcb 100644 --- a/client/client.go +++ b/client/client.go @@ -16,13 +16,13 @@ import ( ) func New(portNumber int) *crc.Client { - rpcClientCodec := crpj.NewCustomClientCodec(crcodec.NewCompressionCodecSelector(connector.GetCompressionThreshold())) - connector, err := occ.NewConnector(occp.ContainerNetwork, portNumber) if nil != err { logging.Logger().Panic(err) } + rpcClientCodec := crpj.NewCustomClientCodec(crcodec.NewCompressionCodecSelector(connector.GetCompressionThreshold())) + ch := &ClientHandlers{} ch.Name = occp.ContainerNetwork.String() ch.Connector = connector