From 17d5bc4e54295a713052f15fe155fd3fc09ae20c Mon Sep 17 00:00:00 2001 From: Oleg Zaytsev Date: Mon, 16 Dec 2024 17:20:51 +0100 Subject: [PATCH] Update comment on MemPostings.lvs There was a missing verb there. Signed-off-by: Oleg Zaytsev --- tsdb/index/postings.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsdb/index/postings.go b/tsdb/index/postings.go index f9a284bc7..a2c5a8223 100644 --- a/tsdb/index/postings.go +++ b/tsdb/index/postings.go @@ -72,7 +72,7 @@ type MemPostings struct { // lvs holds the label values for each label name. // lvs[name] is essentially an unsorted append-only list of all keys in m[name] // mtx must be held when interacting with lvs. - // Since it's append-only, it is safe to the label values slice after releasing the lock. + // Since it's append-only, it is safe to read the label values slice after releasing the lock. lvs map[string][]string ordered bool