Skip to content

Commit

Permalink
Update metrics-operator/controllers/common/providers/prometheus/prome…
Browse files Browse the repository at this point in the history
…theus.go

Co-authored-by: Florian Bacher <[email protected]>
Signed-off-by: Rakshit Gondwal <[email protected]>
  • Loading branch information
rakshitgondwal and bacherfl authored Jun 29, 2023
1 parent bd99e20 commit 13e406b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 13e406b

Please sign in to comment.