From ba92fb53391e5115fcd8e14ec23765c1d06cd9fc Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Wed, 10 Jul 2024 10:28:42 +0200 Subject: [PATCH] Warn about str.format() in toddlers config The configuration does the right thing now, but add the warning nonetheless, so subsequent changes are less likely to be breaking. Signed-off-by: Nils Philippsen --- roles/openshift-apps/toddlers/templates/fedora-messaging.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/openshift-apps/toddlers/templates/fedora-messaging.toml b/roles/openshift-apps/toddlers/templates/fedora-messaging.toml index 5fd9c2f0fc..dd47f5b9bc 100644 --- a/roles/openshift-apps/toddlers/templates/fedora-messaging.toml +++ b/roles/openshift-apps/toddlers/templates/fedora-messaging.toml @@ -400,6 +400,7 @@ notify_emails = [ [consumer_config.distgit_commit_processor] mail_from = "notifications@{{ env_prefix }}fedoraproject.org" mail_to = "scm-commits@lists.{{ env_prefix }}fedoraproject.org" +# The templates are passed to str.format() => no quotes in dictionary keys! # This is the default subject # mail_subject_tmpl = "{message.summary}" mail_content_tmpl = """Notification time stamped {headers[sent-at]}