From e8afb9c990fd95a72ffd2ec08ca4b2d722dc9bb0 Mon Sep 17 00:00:00 2001 From: Vandit Singh Date: Fri, 13 Dec 2024 00:26:54 +0530 Subject: [PATCH] fix lint issue Signed-off-by: Vandit Singh --- web/api/v1/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/api/v1/api.go b/web/api/v1/api.go index 987589f5df..0c624cd030 100644 --- a/web/api/v1/api.go +++ b/web/api/v1/api.go @@ -2120,7 +2120,7 @@ func toHintLimit(limit int) int { } // truncateResults truncates result for queryRange() and query(). -// No truncation for other types. (Scalars or Strings) +// No truncation for other types(Scalars or Strings). func truncateResults(result *promql.Result, limit int) *promql.Result { switch v := result.Value.(type) { case promql.Matrix: