diff --git a/probe/container-servlet.go b/probe/container-servlet.go index a10915d..049c7eb 100644 --- a/probe/container-servlet.go +++ b/probe/container-servlet.go @@ -180,10 +180,10 @@ func (s *ContainerServlets) writeError(src crp.ServerRequestCodec, writeChan cha Data: data, } - messageType, resMessage, err := src.NewResponse(nil, pErr) + resMessageType, resMessage, err := src.NewResponse(nil, pErr) if nil != err { logging.Logger().Error(err) return } - writeChan <- css.MakeSocketMessage(messageType, resMessage) + writeChan <- css.MakeSocketMessage(resMessageType, resMessage) }