ostree: move OSTreeImageOptions to the ostree package
Move the ostree image options to the ostree package and rename the type to ImageOptions (ostree.ImageOptions).
This commit is contained in:
parent
ffa1e1df17
commit
db431a565d
14 changed files with 114 additions and 69 deletions
|
|
@ -462,6 +462,8 @@ func (h *apiHandlers) PostCompose(ctx echo.Context) error {
|
|||
var ostreeOptions *ostree.SourceSpec
|
||||
// assume it's an ostree image if the type has a default ostree ref
|
||||
if imageType.OSTreeRef() != "" {
|
||||
imageOptions.OSTree = &ostree.ImageOptions{}
|
||||
|
||||
ostreeOptions = &ostree.SourceSpec{}
|
||||
if ir.Ostree != nil {
|
||||
if ir.Ostree.Ref != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue