X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=sdl.go;h=02dae3d892a678615de43baa8eb7bdeee96ec124;hb=HEAD;hp=dbee7f1206718fc9d7ac7dce9f148398ca5bc1b2;hpb=354c65d7e6d9269e62b88b1804443513e55f4889;p=ric-plt%2Fsdlgo.git diff --git a/sdl.go b/sdl.go index dbee7f1..02dae3d 100644 --- a/sdl.go +++ b/sdl.go @@ -93,8 +93,7 @@ func NewSdlInstance(NameSpace string, db *Database) *SdlInstance { //Deprecated: Will be removed in a future release, please use the SubscribeChannel //receiver function of the SyncStorage type. func (s *SdlInstance) SubscribeChannel(cb func(string, ...string), channels ...string) error { - s.storage.SubscribeChannel(s.nameSpace, cb, channels...) - return nil + return s.storage.SubscribeChannel(s.nameSpace, cb, channels...) } //UnsubscribeChannel removes subscription from one or several channels.