From 13e406b5cd3af6a410d33f6c5738316e142b6931 Mon Sep 17 00:00:00 2001 From: Rakshit Gondwal <98955085+rakshitgondwal@users.noreply.github.com> Date: Thu, 29 Jun 2023 13:59:02 +0530 Subject: [PATCH] Update metrics-operator/controllers/common/providers/prometheus/prometheus.go Co-authored-by: Florian Bacher Signed-off-by: Rakshit Gondwal <98955085+rakshitgondwal@users.noreply.github.com> --- .../controllers/common/providers/prometheus/prometheus.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics-operator/controllers/common/providers/prometheus/prometheus.go b/metrics-operator/controllers/common/providers/prometheus/prometheus.go index cf7293c6de..4bfb667e31 100644 --- a/metrics-operator/controllers/common/providers/prometheus/prometheus.go +++ b/metrics-operator/controllers/common/providers/prometheus/prometheus.go @@ -111,7 +111,7 @@ func getResultForMatrix(result model.Value, r *KeptnPrometheusProvider) (string, // we are using two different errors to give the user more information about the result // There can be more than 1 values in the matrixResults but we are defining the step // parameter as the interval itself, hence there can only be one value. - // This logic should be changed, once we work onto the aggreation functions. + // This logic should be changed, once we work onto the aggregation functions. if len(resultMatrix) == 0 { r.Log.Info("No values in query result") return "", nil, fmt.Errorf("no values in query result")