Alerting: Fix saving result_fingerprint in async alert state persister (#115005)
This commit is contained in:
@@ -973,6 +973,12 @@ func (a AlertInstanceMutators) WithAnnotations(annotations InstanceAnnotations)
|
||||
}
|
||||
}
|
||||
|
||||
func (a AlertInstanceMutators) WithResultFingerprint(fp string) AlertInstanceMutator {
|
||||
return func(i *AlertInstance) {
|
||||
i.ResultFingerprint = fp
|
||||
}
|
||||
}
|
||||
|
||||
type Mutator[T any] func(*T)
|
||||
|
||||
// CopyNotificationSettings creates a deep copy of NotificationSettings.
|
||||
|
||||
Reference in New Issue
Block a user