diff options
Diffstat (limited to 'vendor/go.opencensus.io/trace/lrumap.go')
-rw-r--r-- | vendor/go.opencensus.io/trace/lrumap.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/go.opencensus.io/trace/lrumap.go b/vendor/go.opencensus.io/trace/lrumap.go index 908c2497e..dc7a295c7 100644 --- a/vendor/go.opencensus.io/trace/lrumap.go +++ b/vendor/go.opencensus.io/trace/lrumap.go @@ -44,7 +44,7 @@ func (lm lruMap) len() int { } func (lm lruMap) keys() []interface{} { - keys := make([]interface{}, len(lm.cacheKeys)) + keys := []interface{}{} for k := range lm.cacheKeys { keys = append(keys, k) } |