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
Add models
[ric-plt/xapp-frame.git]
/
examples
/
example-xapp.go
diff --git
a/examples/example-xapp.go
b/examples/example-xapp.go
index
abb0e6e
..
714cd37
100755
(executable)
--- a/
examples/example-xapp.go
+++ b/
examples/example-xapp.go
@@
-111,6
+111,7
@@
func GetMetricsOpts() []xapp.CounterOpts {
func NewExampleXapp(appReady, rmrReady bool) *ExampleXapp {
metrics := GetMetricsOpts()
return &ExampleXapp{
func NewExampleXapp(appReady, rmrReady bool) *ExampleXapp {
metrics := GetMetricsOpts()
return &ExampleXapp{
+ msgChan: make(chan *xapp.RMRParams),
stats: xapp.Metric.RegisterCounterGroup(metrics, "ExampleXapp"),
rmrReady: rmrReady,
appReady: appReady,
stats: xapp.Metric.RegisterCounterGroup(metrics, "ExampleXapp"),
rmrReady: rmrReady,
appReady: appReady,