mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 00:08:10 -05:00
Alerting: Fix missing dashboard/panelID links in annotations (#60926)
Assign thru ref
This commit is contained in:
@@ -102,9 +102,9 @@ func (h *AnnotationStateHistorian) recordAnnotationsSync(ctx context.Context, pa
|
||||
return
|
||||
}
|
||||
|
||||
for _, i := range annotations {
|
||||
i.DashboardId = dashID
|
||||
i.PanelId = panel.panelID
|
||||
for i := range annotations {
|
||||
annotations[i].DashboardId = dashID
|
||||
annotations[i].PanelId = panel.panelID
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user