Fix container down event not sending out a notification

systemd changed the log message syntax for a container going down.
Update the regex for the new format.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
This commit is contained in:
Saikrishna Arcot 2023-10-12 17:34:19 -07:00 committed by Ying Xie
parent 3d0a0da24f
commit 862bd794ee

View File

@ -1,7 +1,7 @@
[ [
{ {
"tag": "event-stopped-ctr", "tag": "event-stopped-ctr",
"regex": "Stopped ([a-zA-Z-_\\s]*) container", "regex": "Stopped [a-z._]* - ([a-zA-Z-_\\s]*) container",
"params": [ "ctr_name" ] "params": [ "ctr_name" ]
}, },
{ {