From: ychacon Date: Tue, 25 Apr 2023 08:02:56 +0000 (+0200) Subject: Bug fix X-Git-Tag: 1.1.0~13 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=777987abe351d45394cda0404f863147e83cb53e;p=nonrtric%2Fplt%2Fsme.git Bug fix Issue-ID: NONRTRIC-861 Signed-off-by: ychacon Change-Id: Id77be8cfb5d857cb722277d11fda33b464c09a64 --- diff --git a/capifcore/internal/providermanagementapi/typeaccess.go b/capifcore/internal/providermanagementapi/typeaccess.go index 78b68c0..5257701 100644 --- a/capifcore/internal/providermanagementapi/typeaccess.go +++ b/capifcore/internal/providermanagementapi/typeaccess.go @@ -22,7 +22,7 @@ package providermanagementapi func (ed APIProviderEnrolmentDetails) GetExposingFunctionIdsForPublisher(apfId string) []string { for _, registeredFunc := range *ed.ApiProvFuncs { - if *registeredFunc.ApiProvFuncId == apfId && registeredFunc.isProvidingFunction() { + if *registeredFunc.ApiProvFuncId == apfId { return ed.getExposingFunctionIds() } }