diff --git a/pkg/manifest/anaconda_installer_iso_tree.go b/pkg/manifest/anaconda_installer_iso_tree.go index 91ab42ea83..93603d0e21 100644 --- a/pkg/manifest/anaconda_installer_iso_tree.go +++ b/pkg/manifest/anaconda_installer_iso_tree.go @@ -87,6 +87,15 @@ func (p *AnacondaInstallerISOTree) getOSTreeCommits() []ostree.CommitSpec { return []ostree.CommitSpec{*p.commitSpec} } +func (p *AnacondaInstallerISOTree) getOSTreeCommitSources() []ostree.SourceSpec { + if p.CommitSource == nil { + return []ostree.SourceSpec{} + } + return []ostree.SourceSpec{ + *p.CommitSource, + } +} + func (p *AnacondaInstallerISOTree) getContainerSpecs() []container.Spec { if p.containerSpec == nil { return []container.Spec{}