From c407015707d89cc495abef42b5a41d15a51e78a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Henning?= Date: Mon, 20 Nov 2023 15:01:38 +0100 Subject: [PATCH] Fix wrongly added brackets --- .../kotlin/rocks/theodolite/kubernetes/slo/MetricFetcher.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theodolite/src/main/kotlin/rocks/theodolite/kubernetes/slo/MetricFetcher.kt b/theodolite/src/main/kotlin/rocks/theodolite/kubernetes/slo/MetricFetcher.kt index c6be137be..c8d03a75b 100644 --- a/theodolite/src/main/kotlin/rocks/theodolite/kubernetes/slo/MetricFetcher.kt +++ b/theodolite/src/main/kotlin/rocks/theodolite/kubernetes/slo/MetricFetcher.kt @@ -46,7 +46,7 @@ class MetricFetcher(private val prometheusURL: String, private val offset: Durat val encodedQuery = URLEncoder.encode(query, StandardCharsets.UTF_8) val request = HttpRequest.newBuilder() .uri(URI.create( - "$prometheusURL/api/v1/query_range?query=$encodedQuery&start=$offsetStart&end=$offsetEnd&step={${stepSize.toSeconds()}}s")) + "$prometheusURL/api/v1/query_range?query=$encodedQuery&start=$offsetStart&end=$offsetEnd&step=${stepSize.toSeconds()}s")) .GET() .version(HttpClient.Version.HTTP_1_1) .timeout(TIMEOUT)