From e1a1c6e80b404945f9aa1e0376fad78fba6ea836 Mon Sep 17 00:00:00 2001 From: Doria Keung Date: Thu, 7 Nov 2024 18:30:15 -0500 Subject: [PATCH] Small adjustment to comments --- private/bufpkg/bufmodule/bufmodulecache/base_provider.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/private/bufpkg/bufmodule/bufmodulecache/base_provider.go b/private/bufpkg/bufmodule/bufmodulecache/base_provider.go index d88ae54cc8..920a27b676 100644 --- a/private/bufpkg/bufmodule/bufmodulecache/base_provider.go +++ b/private/bufpkg/bufmodule/bufmodulecache/base_provider.go @@ -83,7 +83,8 @@ func (p *baseProvider[K, V]) getValuesForKeys(ctx context.Context, keys []K) ([] // We are getting the values again so that we retrieve the values from the cache directly. // This matters for ie ModuleDatas where the storage.Bucket attached will have local paths // instead of empty local paths if read from the cache. We documment NewModuleDataProvider - // to return a ModuleDataProvider that will always have local paths for returned storage.Buckets. + // to return a ModuleDataProvider that will always have local paths for returned storage.Buckets, + // if the cache is an on-disk cache. var delegateNotFoundKeys []K delegateValues, delegateNotFoundKeys, err = p.storeGetValuesForKeys(ctx, notFoundKeys) if err != nil {