From: subhash kumar singh Date: Thu, 13 Jan 2022 09:47:16 +0000 (+0000) Subject: Fix counter name to avoid crash X-Git-Tag: 1.1.1~1 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=9d17f9e4a801cde93d1239f33c5bb29345e86ad3;p=ric-app%2Fhw-go.git Fix counter name to avoid crash Fix counter name to avoid crash. Signed-off-by: subhash kumar singh Change-Id: Icd14dc07432ce083ab3ec81308aa99adbb27cd3d --- diff --git a/hwApp.go b/hwApp.go index 40a8b71..14dd4f6 100755 --- a/hwApp.go +++ b/hwApp.go @@ -247,7 +247,7 @@ func main() { } hw := HWApp{ - stats: xapp.Metric.RegisterCounterGroup(metrics, "hw-go"), // register counter + stats: xapp.Metric.RegisterCounterGroup(metrics, "hw_go"), // register counter } hw.Run() }