Add Clear function comment
This commit is contained in:
parent
b3bb3000bd
commit
27928aae1d
|
@ -59,6 +59,7 @@ func (b *Buffer) Flush() {
|
||||||
b.Clear()
|
b.Clear()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Clears buffer contents without flushing series to database
|
||||||
func (b *Buffer) Clear() {
|
func (b *Buffer) Clear() {
|
||||||
b.series = make(map[string]*influxdb.Series)
|
b.series = make(map[string]*influxdb.Series)
|
||||||
b.size = 0
|
b.size = 0
|
||||||
|
|
Loading…
Reference in New Issue