comment/type fixes

pull/3930/head
Cory LaNou 2015-08-28 10:14:24 -05:00
parent 72fd115dc2
commit 97f2dc830f
1 changed files with 4 additions and 1 deletions

View File

@ -753,6 +753,9 @@ func (tsc *tagSetCursor) Next(tmin, tmax int64, selectFields, whereFields []stri
// Decode the raw point.
value := tsc.decodeRawPoint(p, selectFields, whereFields)
timestamp := p.timestamp
// Keep track of the current tags for the series cursor so we can
// respond with them if asked
tsc.currentTags = p.cursor.tags
// Advance the cursor
@ -775,7 +778,7 @@ func (tsc *tagSetCursor) Next(tmin, tmax int64, selectFields, whereFields []stri
}
}
// Tgs returns the current tags of the current cursor
// Tags returns the current tags of the current cursor
// if there is no current currsor, it returns nil
func (tsc *tagSetCursor) Tags() map[string]string {
return tsc.currentTags