From c50e79375acf29c7013e45490f3eff2126f8ee0e Mon Sep 17 00:00:00 2001 From: Christoph Kluge Date: Mon, 30 Sep 2024 15:27:49 +0200 Subject: [PATCH] fix ccb side of unintentionally added endpoint format change in ccms --- internal/metricdata/cc-metric-store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/metricdata/cc-metric-store.go b/internal/metricdata/cc-metric-store.go index f2853e3..ce5101c 100644 --- a/internal/metricdata/cc-metric-store.go +++ b/internal/metricdata/cc-metric-store.go @@ -85,7 +85,7 @@ func (ccms *CCMetricStore) Init(rawConfig json.RawMessage) error { } ccms.url = config.Url - ccms.queryEndpoint = fmt.Sprintf("%s/api/query/", config.Url) + ccms.queryEndpoint = fmt.Sprintf("%s/api/query", config.Url) ccms.jwt = config.Token ccms.client = http.Client{ Timeout: 10 * time.Second,