X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fxapp%2Fdb.go;h=f2286b4ae694c05c933f76540921d4de734f3fc6;hb=54cfa57c5dfb76bfd570054eb08114f46685fd90;hp=36fbfc1e63c475a799296b35740a96bd5dceaa4b;hpb=349a098dffbe8db49a067f3c9b37c44d891ce704;p=ric-plt%2Fxapp-frame.git diff --git a/pkg/xapp/db.go b/pkg/xapp/db.go index 36fbfc1..f2286b4 100755 --- a/pkg/xapp/db.go +++ b/pkg/xapp/db.go @@ -34,10 +34,10 @@ var SDLCounterOpts = []CounterOpts{ } type SDLClient struct { - db *sdl.SdlInstance - stat map[string]Counter - mux sync.Mutex - ready bool + db *sdl.SdlInstance + stat map[string]Counter + mux sync.Mutex + ready bool } type RNIBClient struct { @@ -47,8 +47,8 @@ type RNIBClient struct { // NewSDLClient returns a new SDLClient. func NewSDLClient(ns string) *SDLClient { return &SDLClient{ - db: sdl.NewSdlInstance(ns, sdl.NewDatabase()), - stat: Metric.RegisterCounterGroup(SDLCounterOpts, "SDL"), + db: sdl.NewSdlInstance(ns, sdl.NewDatabase()), + stat: Metric.RegisterCounterGroup(SDLCounterOpts, "SDL"), ready: false, } }