ppom
af2f092b71
Fix crash when all the regexes of a filter have no pattern in them
Fix #66
Example configuration causing crash:
```yaml
streams:
mongod_restart:
cmd: [ 'sh', '-c', 'while true; do echo "Started MongoDB Database Server."; sleep 5; done' ]
filters:
mongo_restart:
regex:
- 'Started MongoDB Database Server.'
actions:
restart_chat_tel:
cmd: [ 'systemctl', 'restart', 'nginx' ]
```
2024-01-09 12:00:00 +01:00
..
2024-01-04 12:00:00 +01:00
2024-01-09 12:00:00 +01:00
2024-01-06 12:00:00 +01:00
2024-01-03 12:00:00 +01:00
2023-10-21 12:00:00 +02:00
2023-10-21 12:00:00 +02:00
2024-01-05 12:00:00 +01:00
2024-01-05 12:00:00 +01:00