manifest: remove private osTreeCommit type
Use the ostree.CommitSpec type instead and return it directly from the pipeline attributes when needed.
This commit is contained in:
parent
d32dff14b4
commit
785f9cb7dd
5 changed files with 18 additions and 39 deletions
|
|
@ -65,13 +65,8 @@ func (p *OSTreeDeployment) getBuildPackages() []string {
|
|||
return packages
|
||||
}
|
||||
|
||||
func (p *OSTreeDeployment) getOSTreeCommits() []osTreeCommit {
|
||||
return []osTreeCommit{
|
||||
{
|
||||
checksum: p.commit.Checksum,
|
||||
url: p.commit.URL,
|
||||
},
|
||||
}
|
||||
func (p *OSTreeDeployment) getOSTreeCommits() []ostree.CommitSpec {
|
||||
return []ostree.CommitSpec{p.commit}
|
||||
}
|
||||
|
||||
func (p *OSTreeDeployment) serialize() osbuild.Pipeline {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue