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 cb57140
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 @@ -80,6 +80,15 @@ func NewAnacondaInstallerISOTree(buildPipeline *Build, anacondaPipeline *Anacond
return p
}

func (p *AnacondaInstallerISOTree) getOSTreeCommitSources() []ostree.SourceSpec {
if p.CommitSource == nil {
return []ostree.SourceSpec{}
}
return []ostree.SourceSpec{
*p.CommitSource,
}
}

func (p *AnacondaInstallerISOTree) getOSTreeCommits() []ostree.CommitSpec {
if p.commitSpec == nil {
return nil
Expand Down

0 comments on commit cb57140

Please sign in to comment.