X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fsbi%2Fnngpush.go;h=ec4d25a2da504b7d53ce34ae42bcc005072e96ea;hb=505e2497ce651c1127ffbcefe396b3f8c0d0f9dd;hp=16545cb27848d0d068826890a5cf926723c3c489;hpb=0770de6e47404e68fc9cbb59263648ac54864aef;p=ric-plt%2Frtmgr.git diff --git a/pkg/sbi/nngpush.go b/pkg/sbi/nngpush.go index 16545cb..ec4d25a 100644 --- a/pkg/sbi/nngpush.go +++ b/pkg/sbi/nngpush.go @@ -87,7 +87,8 @@ func (c *RmrPush) Terminate() error { } func (c *RmrPush) AddEndpoint(ep *rtmgr.Endpoint) error { - count := addendpointct + 1 + addendpointct = addendpointct + 1 + count := addendpointct xapp.Logger.Debug("Invoked sbi.AddEndpoint for %s with count = %d", ep.Ip, count) endpoint := ep.Ip + ":" + strconv.Itoa(DefaultRmrPipelineSocketNumber) ep.Whid = int(xapp.Rmr.Openwh(endpoint)) @@ -159,7 +160,6 @@ func (c *RmrPush) send_sync(ep *rtmgr.Endpoint, policies *[]string, call_id int) xapp.Logger.Debug("Push policy to endpoint: " + ep.Uuid) ret := c.send_data(ep, policies, call_id) - xapp.Logger.Debug("return value is %v", ret) conn.Lock() rtmgr.RMRConnStatus[ep.Uuid] = ret conn.Unlock()