fix lint issue

Signed-off-by: Vandit Singh <vanditsinghkv@gmail.com>
This commit is contained in:
Vandit Singh 2024-12-13 00:26:54 +05:30
parent beb198df50
commit e8afb9c990

View file

@ -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: