1
0
mirror of https://github.com/netsampler/goflow2.git synced 2024-05-06 15:54:52 +00:00

Fix type for a counter when decoding a template flowset

This commit is contained in:
Vincent Bernat
2022-03-03 19:45:34 +01:00
parent 7d4c41a161
commit a5fc8ecfb6

View File

@ -151,7 +151,7 @@ func (s *StateNetFlow) DecodeFlow(msg interface{}) error {
prometheus.Labels{
"router": key,
"version": "9",
"type": "OptionsTemplateFlowSet",
"type": "TemplateFlowSet",
}).
Add(float64(len(fsConv.Records)))