diff options
author | Ondrej Fabry <ofabry@cisco.com> | 2019-05-31 08:56:20 +0200 |
---|---|---|
committer | Ondrej Fabry <ofabry@cisco.com> | 2019-05-31 08:56:20 +0200 |
commit | 3f0489044a1fbc6539aa8c57ffce6d7b00de7d82 (patch) | |
tree | 430770c075de85bcbef72ebe2548bce4208da326 /adapter/stats_api.go | |
parent | df781c9bcf64ba93d0ab7ce62573d93c2bf93d4e (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.go | 2 |
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. |