From 03bc3561977283ee9856c77b3e05f17858b12daf Mon Sep 17 00:00:00 2001 From: William Rouesnel Date: Wed, 10 Jun 2015 15:00:09 +1000 Subject: [PATCH] Fix email template body writer being called with parameters in wrong order. --- manager/notifier.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manager/notifier.go b/manager/notifier.go index 516fc2bf..99101ed1 100644 --- a/manager/notifier.go +++ b/manager/notifier.go @@ -529,7 +529,7 @@ func (n *notifier) sendEmailNotification(to string, op notificationOp, a *Alert) } defer wc.Close() - return writeEmailBody(wc, *smtpSender, status, to, a) + return writeEmailBody(wc, *smtpSender, to, status, a) } func (n *notifier) sendPushoverNotification(token string, op notificationOp, userKey string, a *Alert) error {