Merge pull request #75 from wrouesnel/master

Fix email template body writer being called with parameters in wrong order
This commit is contained in:
Brian Brazil 2015-06-10 10:09:46 +01:00
commit de00240d66
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 {