mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Check whether the internal Alertmanager is ready in remote secondary mode (#79406)
Alerting: Check whether the internal Alertmanager is ready in remote secondary
This commit is contained in:
@@ -98,9 +98,6 @@ func (fam *RemoteSecondaryForkedAlertmanager) StopAndWait() {
|
||||
}
|
||||
|
||||
func (fam *RemoteSecondaryForkedAlertmanager) Ready() bool {
|
||||
// Both Alertmanagers must be ready.
|
||||
if ready := fam.remote.Ready(); !ready {
|
||||
return false
|
||||
}
|
||||
// We only care about the internal Alertmanager being ready.
|
||||
return fam.internal.Ready()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user