From 07a294ac1541307ca02f1bd3e000c3fb840e1388 Mon Sep 17 00:00:00 2001 From: beorn7 Date: Tue, 26 Apr 2016 01:05:56 +0200 Subject: [PATCH] Doc comment fixes --- storage/local/storage.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/storage/local/storage.go b/storage/local/storage.go index 3561db5b4..20a73748b 100644 --- a/storage/local/storage.go +++ b/storage/local/storage.go @@ -281,7 +281,7 @@ func NewMemorySeriesStorage(o *MemorySeriesStorageOptions) Storage { } // Initialize metric vectors. - // TODO(beorn7): Rework once we have a utility function for it in golang_client. + // TODO(beorn7): Rework once we have a utility function for it in client_golang. s.discardedSamplesCount.WithLabelValues(outOfOrderTimestamp) s.discardedSamplesCount.WithLabelValues(duplicateSample) s.maintainSeriesDuration.WithLabelValues(maintainInMemory) @@ -605,8 +605,8 @@ var ( ErrOutOfOrderSample = fmt.Errorf("sample timestamp out of order") // ErrDuplicateSampleForTimestamp is returned if a sample has the same // timestamp as the latest sample in the series it is appended to but a - // different value. (Appending an identical sample is a no-op does not - // cause an error.) + // different value. (Appending an identical sample is a no-op and does + // not cause an error.) ErrDuplicateSampleForTimestamp = fmt.Errorf("sample with repeated timestamp but different value") )