From 775fa5c74210e22119eb7b45bbbcdc62c039f80b Mon Sep 17 00:00:00 2001 From: liamfallon Date: Wed, 13 Nov 2024 18:43:40 +0000 Subject: [PATCH] Fix the metadata returned to the API on packagerevisions --- pkg/cache/memory/util.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/cache/memory/util.go b/pkg/cache/memory/util.go index cdb3ca1c..5f998a72 100644 --- a/pkg/cache/memory/util.go +++ b/pkg/cache/memory/util.go @@ -62,6 +62,8 @@ func identifyLatestRevisions(result map[repository.PackageRevisionKey]*cachedPac for _, v := range latest { v.isLatestRevision = true } + + // If the } func toPackageRevisionSlice(cached map[repository.PackageRevisionKey]*cachedPackageRevision, filter repository.ListPackageRevisionFilter) []repository.PackageRevision {