Restore SDL write at the beginning of subscription create
Change-Id: I4c057ed9200f601a0cb017acf2ce7761d7e7e38d
Signed-off-by: Markku Virtanen <markku.virtanen@nokia.com>
diff --git a/pkg/control/control.go b/pkg/control/control.go
index 14bf034..e4b5820 100755
--- a/pkg/control/control.go
+++ b/pkg/control/control.go
@@ -431,6 +431,8 @@
return &subResp, nil
}
+ c.WriteRESTSubscriptionToDb(restSubId, restSubscription)
+
go c.processSubscriptionRequests(restSubscription, &subReqList, p.ClientEndpoint, p.Meid, &restSubId, xAppRmrEndpoint, md5sum)
c.UpdateCounter(cRestSubRespToXapp)