Code Review
/
govpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Add support for names vector and fill name in interface/node stats
[govpp.git]
/
examples
/
stats-api
/
stats_api.go
diff --git
a/examples/stats-api/stats_api.go
b/examples/stats-api/stats_api.go
index
b905f60
..
9808243
100644
(file)
--- a/
examples/stats-api/stats_api.go
+++ b/
examples/stats-api/stats_api.go
@@
-170,6
+170,7
@@
func isZero(stat adapter.Stat) bool {
}
}
}
+ return true
case adapter.CombinedCounterStat:
for _, ss := range s {
for _, sss := range ss {
@@
-178,6
+179,7
@@
func isZero(stat adapter.Stat) bool {
}
}
}
+ return true
}
- return
tru
e
+ return
fals
e
}