fix metric name

This commit is contained in:
Lucas Amorim 2017-10-30 11:26:03 -07:00
parent a7a2eaf035
commit 7daecf7b23
No known key found for this signature in database
GPG Key ID: 59E9C92E39012D18
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ func (m *mailer) processCerts(allCerts []core.Certificate) {
err = m.sendNags(*reg.Contact, parsedCerts)
if err != nil {
m.stats.errorCount.With(prometheus.Labels{"type": "sendNags"}).Inc()
m.stats.errorCount.With(prometheus.Labels{"type": "SendNags"}).Inc()
m.log.AuditErr(fmt.Sprintf("Error sending nag emails: %s", err))
continue
}