Skip to content

Commit

Permalink
Rephrase attributesMap doc comment
Browse files Browse the repository at this point in the history
"refreshes" is wrong for plural ("updates").
  • Loading branch information
johananl committed Nov 23, 2020
1 parent 6f351e8 commit aff1c34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/trace/attributesmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aff1c34

Please sign in to comment.