X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=E2Manager%2FrmrCgo%2FrmrCgoUtils.go;h=64ff50fa53c30a372b7f6f150b2f4ada119083b9;hb=refs%2Ftags%2F6.0.4;hp=f26d168eb00dd97e0d8ca4debbd9e77d17a53772;hpb=514e6041ca6b9b92cb887c941767f298a746e315;p=ric-plt%2Fe2mgr.git diff --git a/E2Manager/rmrCgo/rmrCgoUtils.go b/E2Manager/rmrCgo/rmrCgoUtils.go index f26d168..64ff50f 100644 --- a/E2Manager/rmrCgo/rmrCgoUtils.go +++ b/E2Manager/rmrCgo/rmrCgoUtils.go @@ -105,9 +105,9 @@ func (ctx *Context) getAllocatedCRmrMBuf(logger *logger.Logger, mBuf *MBuf, maxM //TODO: change to assert or return error func (ctx *Context) checkContextInitialized() { if ctx.RmrCtx == nil { - if ctx.Logger != nil { + /*if ctx.Logger != nil { ctx.Logger.DPanicf("#rmrCgoUtils.checkContextInitialized - The RMR router has not been initialized") - } + }*/ panic("#rmrCgoUtils.checkContextInitialized - The RMR router has not been initialized. To initialize router please call Init() method") } }