From ecb894258f8edf7bd914deb7071040651b4c2246 Mon Sep 17 00:00:00 2001 From: Livio Amstutz Date: Mon, 23 Mar 2020 14:25:01 +0100 Subject: [PATCH] remove eventstore flag from cmd --- cmd/zitadel/main.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cmd/zitadel/main.go b/cmd/zitadel/main.go index 24f3f57abd..f44be202ab 100644 --- a/cmd/zitadel/main.go +++ b/cmd/zitadel/main.go @@ -22,7 +22,6 @@ type Config struct { func main() { configPath := flag.String("config-file", "/zitadel/config/startup.yaml", "path to the config file") - eventstoreEnabled := flag.Bool("eventstore", true, "enable eventstore") managementEnabled := flag.Bool("management", true, "enable management api") authEnabled := flag.Bool("auth", true, "enable auth api") adminEnabled := flag.Bool("admin", true, "enable admin api") @@ -34,10 +33,6 @@ func main() { logging.Log("MAIN-FaF2r").OnError(err).Fatal("cannot read config") ctx := context.Background() - if *eventstoreEnabled { - err = eventstore.Start(ctx, conf.Eventstore) - logging.Log("MAIN-sj2Sd").OnError(err).Fatal("error starting eventstore") - } if *managementEnabled { err = management.Start(ctx, conf.Management) logging.Log("MAIN-39Nv5").OnError(err).Fatal("error starting management api")