From 4a9e936858389aef51417883b586862fc8d012e3 Mon Sep 17 00:00:00 2001 From: Cory LaNou Date: Fri, 4 Sep 2015 07:59:30 -0500 Subject: [PATCH] minor comment fix --- influxql/functions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/influxql/functions.go b/influxql/functions.go index 68f2b1dec8..4706144b59 100644 --- a/influxql/functions.go +++ b/influxql/functions.go @@ -1302,7 +1302,7 @@ type topReduceOut struct { func (t topReduceOut) Len() int { return len(t.points) } func (t topReduceOut) Swap(i, j int) { t.points[i], t.points[j] = t.points[j], t.points[i] } func (t topReduceOut) Less(i, j int) bool { - // Now sort by time first, not max + // Now sort by time first, not value sortFloat := func(d1, d2 float64) bool { k1, k2 := t.points[i].Time, t.points[j].Time if k1 != k2 {