aboutsummaryrefslogtreecommitdiffstats
path: root/adapter/stats_api.go
diff options
context:
space:
mode:
authorOndrej Fabry <ofabry@cisco.com>2019-05-31 08:56:20 +0200
committerOndrej Fabry <ofabry@cisco.com>2019-05-31 08:56:20 +0200
commit3f0489044a1fbc6539aa8c57ffce6d7b00de7d82 (patch)
tree430770c075de85bcbef72ebe2548bce4208da326 /adapter/stats_api.go
parentdf781c9bcf64ba93d0ab7ce62573d93c2bf93d4e (diff)
Support for error vectors
- this fixes compilation error for VPP 19.08 and keeps backwards compatibility with previous versions Change-Id: Ib58557a090caa5e8342c0cb21de8af684cb18137 Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'adapter/stats_api.go')
-rw-r--r--adapter/stats_api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/adapter/stats_api.go b/adapter/stats_api.go
index 4087865..146914d 100644
--- a/adapter/stats_api.go
+++ b/adapter/stats_api.go
@@ -86,7 +86,7 @@ type Name string
type ScalarStat float64
// ErrorStat represents stat for ErrorIndex.
-type ErrorStat uint64
+type ErrorStat Counter
// SimpleCounterStat represents stat for SimpleCounterVector.
// The outer array represents workers and the inner array represents interface/node/.. indexes.