mirror of
https://github.com/grafana/grafana.git
synced 2024-12-28 18:01:40 -06:00
Alerting: Fix remote Alertmanager readiness check path (#95063)
This commit is contained in:
parent
b475b8f648
commit
4f8f82f5f1
@ -71,7 +71,7 @@ func (am *Alertmanager) IsReadyWithBackoff(ctx context.Context) (bool, error) {
|
||||
ctx, cancel := context.WithCancel(ctx)
|
||||
defer cancel()
|
||||
|
||||
readyURL := am.url.JoinPath(am.url.Path, alertmanagerAPIMountPath, alertmanagerReadyPath)
|
||||
readyURL := am.url.JoinPath(alertmanagerAPIMountPath, alertmanagerReadyPath)
|
||||
|
||||
attempt := func() (int, error) {
|
||||
req, err := http.NewRequestWithContext(ctx, http.MethodGet, readyURL.String(), nil)
|
||||
|
Loading…
Reference in New Issue
Block a user