mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-12 06:24:10 +01:00
outlet/flow: persist decoders' state
Currently, for NetFlow, persist data/options templates and options. This should allow the outlet to restart without loosing any message. Fix #2100
This commit is contained in:
@@ -47,7 +47,7 @@ func New(r *reporter.Reporter, dependencies decoder.Dependencies) decoder.Decode
|
||||
}
|
||||
nd.collection = templateAndOptionCollection{
|
||||
nd: nd,
|
||||
collection: make(map[string]*templatesAndOptions),
|
||||
Collection: make(map[string]*templatesAndOptions),
|
||||
}
|
||||
|
||||
nd.metrics.errors = nd.r.CounterVec(
|
||||
|
||||
Reference in New Issue
Block a user