From d55cb56db4a8a57088106bd40d8d67eda70b4527 Mon Sep 17 00:00:00 2001 From: ahrav Date: Wed, 1 Nov 2023 07:36:22 -0700 Subject: [PATCH] update comment (#2084) update Cache.Contents() comment --- pkg/cache/memory/memory.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))