diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-07-01 11:25:54 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-07-01 11:25:54 +0000 |
commit | f8986f061760ca49e1ec0801ff12846cebac1c67 (patch) | |
tree | 1c4e2fdb1ee3542beea889a3f360d00e961f6f40 /src | |
parent | 6a7dac91c1a2a9bc8731ab04701336ced1e46d5d (diff) | |
download | vyos-1x-f8986f061760ca49e1ec0801ff12846cebac1c67.tar.gz vyos-1x-f8986f061760ca49e1ec0801ff12846cebac1c67.zip |
event-handler: T4501: Fix for syslog-identifier
In dictionary we get "syslog-identifier" with dash
But we try to parse option with underscore "syslog_identifier"
Fix it
Diffstat (limited to 'src')
-rwxr-xr-x | src/system/vyos-event-handler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system/vyos-event-handler.py b/src/system/vyos-event-handler.py index 691f674b2..507fdc652 100755 --- a/src/system/vyos-event-handler.py +++ b/src/system/vyos-event-handler.py @@ -69,7 +69,7 @@ class Analyzer: 'pattern_raw': pattern_raw, 'syslog_id': - dict_search('filter.syslog_identifier', event_config), + dict_search('filter.syslog-identifier', event_config), 'pattern_script': { 'path': script, 'environment': environment |