From 862bd794ee86a736e1c0e78eafee06cfdba37f12 Mon Sep 17 00:00:00 2001 From: Saikrishna Arcot Date: Thu, 12 Oct 2023 17:34:19 -0700 Subject: [PATCH] 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 --- files/build_templates/systemd_regex.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/build_templates/systemd_regex.json b/files/build_templates/systemd_regex.json index bb1b220f5..0ffa99156 100644 --- a/files/build_templates/systemd_regex.json +++ b/files/build_templates/systemd_regex.json @@ -1,7 +1,7 @@ [ { "tag": "event-stopped-ctr", - "regex": "Stopped ([a-zA-Z-_\\s]*) container", + "regex": "Stopped [a-z._]* - ([a-zA-Z-_\\s]*) container", "params": [ "ctr_name" ] }, {