X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fnbi%2Fhttprestful.go;h=98209e76aadf0dbfa20168ed92898d51194c8d5e;hb=d14518e192178f0df3dc52bd804a9d0cc600bac7;hp=be0a95f65e399fa42cbcf6dc19a924fde7a9e6b7;hpb=a33250260638635c502499d5bc16e99da1749b85;p=ric-plt%2Frtmgr.git diff --git a/pkg/nbi/httprestful.go b/pkg/nbi/httprestful.go index be0a95f..98209e7 100644 --- a/pkg/nbi/httprestful.go +++ b/pkg/nbi/httprestful.go @@ -642,7 +642,7 @@ func retrieveStartupData(xmurl string, nbiif string, fileName string, configfile } xapp.Logger.Info("Trying to fetch Subscriptions data from Subscription manager") - /*for i := 1; i <= maxRetries; i++ { + for i := 1; i <= maxRetries; i++ { readErr = nil sub_list, err := xapp.Subscription.QuerySubscriptions() @@ -658,7 +658,7 @@ func retrieveStartupData(xmurl string, nbiif string, fileName string, configfile if readErr != nil { return readErr - }*/ + } // post subscription req to appmgr readErr = PostSubReq(xmurl, nbiif)