fix ccb side of unintentionally added endpoint format change in ccms

This commit is contained in:
Christoph Kluge 2024-09-30 15:27:49 +02:00
parent dcb8308f35
commit c50e79375a

View File

@ -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,