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

main
Matthew Hodgson 2017-06-25 01:20:04 +01:00
parent cdd1fdcd3d
commit eb029116b0
1 changed files with 2 additions and 0 deletions

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")
} }