Fix email template body writer being called with parameters in wrong order.

This commit is contained in:
William Rouesnel 2015-06-10 15:00:09 +10:00
parent 7988e1112e
commit 03bc356197
1 changed files with 1 additions and 1 deletions

View File

@ -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 {