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: