osbuild/skopeo: reverse the constructor args
Put the path (which becomes an option) first and the inputs second. This is more in line with other stage constructors.
This commit is contained in:
parent
069021093c
commit
dfae9fbefb
2 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ type SkopeoStageOptions struct {
|
|||
|
||||
func (o SkopeoStageOptions) isStageOptions() {}
|
||||
|
||||
func NewSkopeoStage(images ContainersInput, path string) *Stage {
|
||||
func NewSkopeoStage(path string, images ContainersInput) *Stage {
|
||||
|
||||
inputs := ContainersInputs{
|
||||
"images": images,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue