Code Review
/
ric-plt
/
xapp-frame.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update versions in go.mod
[ric-plt/xapp-frame.git]
/
pkg
/
xapp
/
db.go
diff --git
a/pkg/xapp/db.go
b/pkg/xapp/db.go
index
36fbfc1
..
f2286b4
100755
(executable)
--- a/
pkg/xapp/db.go
+++ b/
pkg/xapp/db.go
@@
-34,10
+34,10
@@
var SDLCounterOpts = []CounterOpts{
}
type SDLClient struct {
}
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 {
}
type RNIBClient struct {
@@
-47,8
+47,8
@@
type RNIBClient struct {
// NewSDLClient returns a new SDLClient.
func NewSDLClient(ns string) *SDLClient {
return &SDLClient{
// 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,
}
}
ready: false,
}
}