X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=E2Manager%2FrmrCgo%2FrmrCgoApi.go;fp=E2Manager%2FrmrCgo%2FrmrCgoApi.go;h=9b242c42b256ff589789eee6e67d9d45e3bc504a;hb=549944ecfb9e75ed4a03dd6d10e4160b89f26ca8;hp=2de57d9d871ef7b273807c55f7ac2cf4644f4e33;hpb=ba04c48f4452b1811053a13bcf153970e9878abc;p=ric-plt%2Fe2mgr.git diff --git a/E2Manager/rmrCgo/rmrCgoApi.go b/E2Manager/rmrCgo/rmrCgoApi.go index 2de57d9..9b242c4 100644 --- a/E2Manager/rmrCgo/rmrCgoApi.go +++ b/E2Manager/rmrCgo/rmrCgoApi.go @@ -58,7 +58,6 @@ func (ctx *Context) SendMsg(msg *MBuf, maxMsgSize int) (*MBuf, error) { state := allocatedCMBuf.state if state != RMR_OK { errorMessage := fmt.Sprintf("#rmrCgoApi.SendMsg - Failed to get allocated message. state: %v - %s", state, states[int(state)]) - ctx.Logger.Errorf(errorMessage) return nil, errors.New(errorMessage) } @@ -73,7 +72,6 @@ func (ctx *Context) SendMsg(msg *MBuf, maxMsgSize int) (*MBuf, error) { if state != RMR_OK { errorMessage := fmt.Sprintf("#rmrCgoApi.SendMsg - Failed to send message. state: %v - %s", state, states[int(state)]) - ctx.Logger.Errorf(errorMessage) return nil, errors.New(errorMessage) }