From aff1c34c07f80b18bda666614d1be24db2b4d5b5 Mon Sep 17 00:00:00 2001 From: Johannes Liebermann Date: Mon, 16 Nov 2020 20:04:53 +0100 Subject: [PATCH] Rephrase attributesMap doc comment "refreshes" is wrong for plural ("updates"). --- sdk/trace/attributesmap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/trace/attributesmap.go b/sdk/trace/attributesmap.go index 0b9144faeb2..6b2f1346306 100644 --- a/sdk/trace/attributesmap.go +++ b/sdk/trace/attributesmap.go @@ -22,7 +22,7 @@ import ( // attributesMap is a capped map of attributes, holding the most recent attributes. // Eviction is done via a LRU method, the oldest entry is removed to create room for a new entry. -// Updates are allowed and refreshes the usage of the key. +// Updates are allowed and they refresh the usage of the key. // // This is based from https://github.com/hashicorp/golang-lru/blob/master/simplelru/lru.go // With a subset of the its operations and specific for holding label.KeyValue