X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fcontrol%2Fcontrol.go;h=094e020c29fe3cd8625f61e482630ddb4de7a34d;hb=f44377db11001585180cb1a41452a12bfd44546f;hp=11037271130eff95d951a065446023959977e1f1;hpb=9bcb0a4620d71671f758dce029cb2e3da9ab9dbe;p=ric-plt%2Fsubmgr.git diff --git a/pkg/control/control.go b/pkg/control/control.go index 1103727..094e020 100755 --- a/pkg/control/control.go +++ b/pkg/control/control.go @@ -232,7 +232,7 @@ func (c *Control) handleXAPPSubscriptionRequest(params *xapptweaks.RMRParams) { } } xapp.Logger.Info("XAPP-SubReq: failed %s", idstring(err, trans, subs)) - go c.registry.RemoveFromSubscription(subs, trans, 5*time.Second) + c.registry.RemoveFromSubscription(subs, trans, 5*time.Second) } //------------------------------------------------------------------- @@ -283,7 +283,7 @@ func (c *Control) handleXAPPSubscriptionDeleteRequest(params *xapptweaks.RMRPara c.rmrSendToXapp("", subs, trans) } - go c.registry.RemoveFromSubscription(subs, trans, 5*time.Second) + c.registry.RemoveFromSubscription(subs, trans, 5*time.Second) } //-------------------------------------------------------------------