From 4fcb0a392e16965a9e7a71220221d6d4b52120ed Mon Sep 17 00:00:00 2001 From: Azeem Shaikh Date: Wed, 11 Aug 2021 08:40:53 -0700 Subject: [PATCH] Fix a bug in flag parsing (#836) Co-authored-by: Azeem Shaikh --- cron/worker/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cron/worker/main.go b/cron/worker/main.go index 264064183af..e1b63db222c 100644 --- a/cron/worker/main.go +++ b/cron/worker/main.go @@ -162,6 +162,8 @@ func startMetricsExporter() (monitoring.Exporter, error) { func main() { ctx := context.Background() + flag.Parse() + subscriptionURL, err := config.GetRequestSubscriptionURL() if err != nil { panic(err)