trivial fix to actually parse fed-api-server's CLI args

This commit is contained in:
Matthew Hodgson 2017-06-25 01:20:04 +01:00
parent cdd1fdcd3d
commit eb029116b0

View file

@ -38,6 +38,8 @@ var (
func main() { func main() {
common.SetupLogging(logDir) common.SetupLogging(logDir)
flag.Parse()
if *configPath == "" { if *configPath == "" {
log.Fatal("--config must be supplied") log.Fatal("--config must be supplied")
} }