osbuild-composer: Move InitWeldr code into weldr.New
This will make it easier to support new features related to building for other distribution releases.
This commit is contained in:
parent
a330d84739
commit
9818b4b6b1
4 changed files with 62 additions and 35 deletions
|
|
@ -49,7 +49,7 @@ func createWeldrAPI(tempdir string, fixtureGenerator rpmmd_mock.FixtureGenerator
|
|||
panic(err)
|
||||
}
|
||||
|
||||
return New(rpm, arch, d, rr, nil, fixture.Store, fixture.Workers, ""), fixture.Store
|
||||
return NewTestAPI(rpm, arch, d, rr, nil, fixture.Store, fixture.Workers, ""), fixture.Store
|
||||
}
|
||||
|
||||
func TestBasic(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue