store: don't initialize the store with an example
We probably want to ship in a pristine state, so let's leave this out for now. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
9cb140795e
commit
b6c63b6d59
1 changed files with 0 additions and 11 deletions
|
|
@ -7,7 +7,6 @@ import (
|
|||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"osbuild-composer/internal/blueprint"
|
||||
"osbuild-composer/internal/jobqueue"
|
||||
"osbuild-composer/internal/rpmmd"
|
||||
"osbuild-composer/internal/store"
|
||||
|
|
@ -64,16 +63,6 @@ func main() {
|
|||
stateChannel := make(chan []byte, 10)
|
||||
|
||||
store := store.New(state, stateChannel)
|
||||
// sample blueprint on first run
|
||||
if state == nil {
|
||||
store.PushBlueprint(blueprint.Blueprint{
|
||||
Name: "example",
|
||||
Description: "An Example",
|
||||
Version: "1",
|
||||
Packages: []blueprint.Package{{"httpd", "2.*"}},
|
||||
Modules: []blueprint.Package{},
|
||||
})
|
||||
}
|
||||
|
||||
jobAPI := jobqueue.New(logger, store)
|
||||
weldrAPI := weldr.New(repo, packages, logger, store)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue