Commit Graph

6 Commits

Author SHA1 Message Date
guangwu
98a9303ff9 fix: close cache file 2024-05-23 05:51:21 +02:00
Vincent Bernat
2467a3c136 inlet/metadata: fix versioning of metadata cache
Gob decoding is quite liberal and accepts anything that is not
conflicting as long as there is at least one field matching. That's not
what we want. To check we are decoding the right things, use a string
representation of zero values.
2024-04-12 22:44:50 +02:00
Vincent Bernat
9db516e424 build: don't use ioutil
This is deprecated.
2023-11-12 22:58:41 +01:00
Vincent Bernat
a912da7fa1 build: use gofumpt
Undecided if we need to use it. I think it's nice.
2023-02-11 10:03:45 +01:00
Vincent Bernat
e4b30ecea7 common/helpers: fix race condition when checking last access on expire 2023-02-01 12:03:58 +01:00
Vincent Bernat
577e27f7d4 inlet/snmp: move cache to helpers
We will reuse this implementation for classifiers too.
2023-02-01 09:11:11 +01:00