Skip to content

Commit

Permalink
anaconda: implement getostreecommitsources
Browse files Browse the repository at this point in the history
  • Loading branch information
supakeen committed Dec 20, 2023
1 parent 6dedab4 commit 0e2b8c3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkg/manifest/anaconda_installer_iso_tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}
Expand Down

0 comments on commit 0e2b8c3

Please sign in to comment.