X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fsbi%2Fnngpush_test.go;h=a778ddb8bbffc5dd0007ec06d6f0211851b98423;hb=refs%2Fchanges%2F27%2F6827%2F1;hp=e53ac5c0acf672cb89a2699d14376aa99b89c384;hpb=4101d1060980858538c5600af8d9ad7a258db107;p=ric-plt%2Frtmgr.git diff --git a/pkg/sbi/nngpush_test.go b/pkg/sbi/nngpush_test.go index e53ac5c..a778ddb 100644 --- a/pkg/sbi/nngpush_test.go +++ b/pkg/sbi/nngpush_test.go @@ -40,7 +40,7 @@ import ( type Consumer struct{} func (m Consumer) Consume(params *xapp.RMRParams) (err error) { - xapp.Sdl.Store("myKey", params.Payload) + xapp.SdlStorage.Store(rtmgr.RTMGR_SDL_NS, "myKey", params.Payload) return nil } @@ -56,7 +56,7 @@ func TestMain(m *testing.M) { Resets the EndpointList according to argumnets */ func resetTestPushDataset(instance RmrPush, testdata []rtmgr.Endpoint) { - rtmgr.RMRConnStatus = make(map[string]bool) + rtmgr.RMRConnStatus = make(map[string]bool) rtmgr.Eps = make(map[string]*rtmgr.Endpoint) for _, endpoint := range testdata { ep := endpoint