Skip to content

Find, verify, and analyze leaked credentials

update comment (#2084)

ahravd55cb56db4a8
diff --git a/pkg/cache/memory/memory.go b/pkg/cache/memory/memory.go
index 549dc2c06..b4e9c87c3 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))