From 0dc71bc6bd83fb5b872fc279732fe3e772e6afaf Mon Sep 17 00:00:00 2001 From: John Belamaric Date: Mon, 25 Sep 2023 10:54:22 -0700 Subject: [PATCH] Add ResourceVersion to fake repo package revision Signed-off-by: John Belamaric --- porch/pkg/engine/fake/packagerevision.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/porch/pkg/engine/fake/packagerevision.go b/porch/pkg/engine/fake/packagerevision.go index a646c8071a..d8a4c1ec97 100644 --- a/porch/pkg/engine/fake/packagerevision.go +++ b/porch/pkg/engine/fake/packagerevision.go @@ -47,6 +47,10 @@ func (pr *PackageRevision) UID() types.UID { return pr.Uid } +func (pr *PackageRevision) ResourceVersion() string { + return pr.PackageRevision.ResourceVersion +} + func (pr *PackageRevision) Key() repository.PackageRevisionKey { return pr.PackageRevisionKey }