diff --git a/pkg/cache/memory/memory.go b/pkg/cache/memory/memory.go index 549dc2c06a28..b4e9c87c3cfd 100644 --- a/pkg/cache/memory/memory.go +++ b/pkg/cache/memory/memory.go @@ -94,7 +94,7 @@ func (c *Cache) Values() []string { return res } -// Contents returns all key-value pairs in the cache encodes as a string. +// Contents returns a comma-separated string containing all keys in the cache. func (c *Cache) Contents() string { items := c.c.Items() res := make([]string, 0, len(items))