Skip to content

Commit

Permalink
Add ResourceVersion to fake repo package revision
Browse files Browse the repository at this point in the history
Signed-off-by: John Belamaric <[email protected]>
  • Loading branch information
johnbelamaric committed Sep 25, 2023
1 parent a3baea9 commit 0dc71bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions porch/pkg/engine/fake/packagerevision.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 0dc71bc

Please sign in to comment.