Skip to content

Commit

Permalink
Fix type for a counter when decoding a template flowset
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentbernat committed Mar 3, 2022
1 parent 7d4c41a commit a5fc8ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/netflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)))

Expand Down

0 comments on commit a5fc8ec

Please sign in to comment.