cmd/serve: don't make --config required

This commit is contained in:
Simone Gotti 2019-07-12 17:26:00 +02:00
parent 973c72976c
commit f61a6068c2
1 changed files with 0 additions and 3 deletions

View File

@ -79,9 +79,6 @@ func init() {
flags.BoolVar(&serveOpts.embeddedEtcd, "embedded-etcd", false, "start and use an embedded etcd, only for testing purpose")
flags.StringVar(&serveOpts.embeddedEtcdDataDir, "embedded-etcd-data-dir", "/tmp/agola/etcd", "embedded etcd data dir, only for testing purpose")
if err := cmdServe.MarkFlagRequired("config"); err != nil {
log.Fatal(err)
}
if err := cmdServe.MarkFlagRequired("components"); err != nil {
log.Fatal(err)
}