From b6c63b6d59e5fd7b9a5dc969e5a554f5ca2ea382 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Sat, 5 Oct 2019 20:50:17 +0200 Subject: [PATCH] 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 --- cmd/osbuild-composer/main.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/cmd/osbuild-composer/main.go b/cmd/osbuild-composer/main.go index 4e3c7fd95..745515fd6 100644 --- a/cmd/osbuild-composer/main.go +++ b/cmd/osbuild-composer/main.go @@ -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)