Changing rmr-data to rmrdata
[ric-plt/xapp-frame.git] / pkg / xapp / db.go
index 6591e04..e422cfd 100755 (executable)
@@ -73,6 +73,9 @@ type RNIBClient struct {
 
 // NewSDLClient returns a new SDLClient.
 func NewSDLClient(ns string) *SDLClient {
+       if ns == "" {
+               ns = "sdl"
+       }
        return &SDLClient{
                db:    sdl.NewSdlInstance(ns, sdl.NewDatabase()),
                stat:  Metric.RegisterCounterGroup(SDLCounterOpts, "SDL"),
@@ -165,7 +168,7 @@ func (c *SDLClient) GetStat() (t SDLStatistics) {
        return
 }
 
-func NewRNIBClient(ns string) *RNIBClient {
+func NewRNIBClient() *RNIBClient {
        s := sdl.NewSdlInstance("e2Manager", sdl.NewDatabase())
        return &RNIBClient{
                db:     s,