Commit afab86e
authored
fix: traefik json logs when RouterName property is omitted (#1644)
* fix: traefik json logs when RouterName property is omitted
Add nil check for RouterName before parsing router components to prevent
errors when the property is missing from Traefik JSON logs.
Fixes #1643
* test: add assertions for traefik RouterName nil case
* docs: add comments explaining RouterName nil handling
* refactor: make it less complex
* refactor: make static less complex1 parent 52ba93b commit afab86e
File tree
3 files changed
+541
-366
lines changed- .tests/traefik_json
- parsers/s01-parse/crowdsecurity
3 files changed
+541
-366
lines changed
0 commit comments