From 8feb67e630254a8f487beb1862991b00c07dfc39 Mon Sep 17 00:00:00 2001 From: zhulongcheng Date: Sun, 17 Mar 2019 13:42:18 +0800 Subject: [PATCH] Update Appender.AddFast method comment (#551) Signed-off-by: zhulongcheng --- db.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db.go b/db.go index 7b03a209c..0022df12d 100644 --- a/db.go +++ b/db.go @@ -92,8 +92,8 @@ type Appender interface { // If the reference is 0 it must not be used for caching. Add(l labels.Labels, t int64, v float64) (uint64, error) - // Add adds a sample pair for the referenced series. It is generally faster - // than adding a sample by providing its full label set. + // AddFast adds a sample pair for the referenced series. It is generally + // faster than adding a sample by providing its full label set. AddFast(ref uint64, t int64, v float64) error // Commit submits the collected samples and purges the batch.