X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=sdl.go;fp=sdl.go;h=02dae3d892a678615de43baa8eb7bdeee96ec124;hb=d14c9d8bc5ed846c4b9f05af739eb9fba1978737;hp=dbee7f1206718fc9d7ac7dce9f148398ca5bc1b2;hpb=1fb0e222e95d5af6df20d922501f585c1ef9fd0b;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.