mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Change error log to warning and apply correct format when updating historic config (#62973)
* change error to warning, apply correct format * Update pkg/services/ngalert/store/alertmanager.go Co-authored-by: George Robinson <george.robinson@grafana.com> * different wording and data --------- Co-authored-by: George Robinson <george.robinson@grafana.com>
This commit is contained in:
parent
b0213a4877
commit
955c7b13ea
@ -154,7 +154,7 @@ func (st *DBstore) MarkConfigurationAsApplied(ctx context.Context, cmd *models.M
|
||||
}
|
||||
|
||||
if rowsAffected != 1 {
|
||||
st.Logger.Error("update statement affected %d alert configuration history records", rowsAffected)
|
||||
st.Logger.Warn("Unexpected number of rows updating alert configuration history", "rows", rowsAffected, "org", cmd.OrgID, "hash", cmd.ConfigurationHash)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user