store: drop the distro registry
This was now unused. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
0656fdcd38
commit
1345ca77fd
5 changed files with 16 additions and 34 deletions
|
|
@ -7,7 +7,6 @@ import (
|
|||
|
||||
"github.com/osbuild/osbuild-composer/internal/common"
|
||||
"github.com/osbuild/osbuild-composer/internal/compose"
|
||||
distro_mock "github.com/osbuild/osbuild-composer/internal/mocks/distro"
|
||||
|
||||
"github.com/google/uuid"
|
||||
"github.com/osbuild/osbuild-composer/internal/blueprint"
|
||||
|
|
@ -93,8 +92,7 @@ func createBaseStoreFixture() *store.Store {
|
|||
},
|
||||
}
|
||||
|
||||
r, _ := distro_mock.NewDefaultRegistry()
|
||||
s := store.New(nil, *r)
|
||||
s := store.New(nil)
|
||||
|
||||
s.Blueprints[bName] = b
|
||||
s.Composes = map[uuid.UUID]compose.Compose{
|
||||
|
|
@ -189,8 +187,7 @@ func createStoreWithoutComposesFixture() *store.Store {
|
|||
Customizations: nil,
|
||||
}
|
||||
|
||||
r, _ := distro_mock.NewDefaultRegistry()
|
||||
s := store.New(nil, *r)
|
||||
s := store.New(nil)
|
||||
|
||||
s.Blueprints[bName] = b
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue