From 43d82cdf7be0ca371a48e4957cfa3724c35525f3 Mon Sep 17 00:00:00 2001 From: Roee Gadot Date: Thu, 29 Apr 2021 08:44:24 +0300 Subject: [PATCH] missing flag.parse --- api/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/main.go b/api/main.go index fc7357b25..9342d14d5 100644 --- a/api/main.go +++ b/api/main.go @@ -16,6 +16,8 @@ func main() { app := fiber.New() var harDir = flag.String("hardir", "input", "Directory in which we read har files from") + flag.Parse() + go inserter.StartReadingFiles(*harDir) // process to read files and insert to DB