Chore: fix spelling mistake (#30473)

This commit is contained in:
Silje Enge Kristensen
2021-01-21 09:17:46 +01:00
committed by GitHub
parent 31192cf7db
commit c91db6ae17

View File

@@ -141,7 +141,7 @@ func NewRuleFromDBAlert(ruleDef *models.Alert, logTranslationFailures bool) (*Ru
uid, err := translateNotificationIDToUID(id, ruleDef.OrgId)
if err != nil {
if !errors.Is(err, models.ErrAlertNotificationFailedTranslateUniqueID) {
logger.Error("Failed to tranlate notification id to uid", "error", err.Error(), "dashboardId", model.DashboardID, "alert", model.Name, "panelId", model.PanelID, "notificationId", id)
logger.Error("Failed to translate notification id to uid", "error", err.Error(), "dashboardId", model.DashboardID, "alert", model.Name, "panelId", model.PanelID, "notificationId", id)
}
if logTranslationFailures {