From bdf41feda9ef931009e2ee4ff4632174350a5cd6 Mon Sep 17 00:00:00 2001 From: "grafana-delivery-bot[bot]" <132647405+grafana-delivery-bot[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 18:45:49 +0300 Subject: [PATCH] [v11.3.x] Alerting: Fix remote Alertmanager readiness check path (#95066) Alerting: Fix remote Alertmanager readiness check path (#95063) (cherry picked from commit 4f8f82f5f13572ca3e75a21b3a23df43bf270407) Co-authored-by: Santiago --- pkg/services/ngalert/remote/client/alertmanager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/services/ngalert/remote/client/alertmanager.go b/pkg/services/ngalert/remote/client/alertmanager.go index 52ab72b2723..2ca7a9bebee 100644 --- a/pkg/services/ngalert/remote/client/alertmanager.go +++ b/pkg/services/ngalert/remote/client/alertmanager.go @@ -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)