From ab38143039d24e818f3afe8049ea577e62300f8b Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 11 Sep 2018 18:42:00 -0500 Subject: [PATCH] Include client key in disabled probe list email --- rattail_tempmon/emails.py | 3 ++- .../templates/mail/tempmon_disabled_probes.html.mako | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/rattail_tempmon/emails.py b/rattail_tempmon/emails.py index 1351c9c..ab5a4b5 100644 --- a/rattail_tempmon/emails.py +++ b/rattail_tempmon/emails.py @@ -137,6 +137,7 @@ class tempmon_disabled_probes(Email): tempmon.Client(config_key='foo', hostname='foo.example.com'), ], 'disabled_probes': [ - tempmon.Probe(description="north wall of walk-in cooler"), + tempmon.Probe(description="north wall of walk-in cooler", + client=tempmon.Client(config_key='bar')), ], } diff --git a/rattail_tempmon/templates/mail/tempmon_disabled_probes.html.mako b/rattail_tempmon/templates/mail/tempmon_disabled_probes.html.mako index 6948aaf..4a5428d 100644 --- a/rattail_tempmon/templates/mail/tempmon_disabled_probes.html.mako +++ b/rattail_tempmon/templates/mail/tempmon_disabled_probes.html.mako @@ -12,7 +12,7 @@

Disabled Probes

% endif