fix appender.Add -> appender.Append

Signed-off-by: jessicagreben <jessicagrebens@gmail.com>
This commit is contained in:
jessicagreben 2021-03-01 05:49:49 -08:00
parent 78e84aed89
commit 9fc53b7edf
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ func newMultipleAppender(ctx context.Context, maxSamplesInMemory int, blockWrite
}
func (m *multipleAppender) add(ctx context.Context, l labels.Labels, t int64, v float64) error {
if _, err := m.appender.Add(l, t, v); err != nil {
if _, err := m.appender.Append(0, l, t, v); err != nil {
return err
}
m.currentSampleCount++