Skip to content

Commit

Permalink
Fix a bug in flag parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
azeemsgoogle committed Aug 11, 2021
1 parent 6cc4135 commit ca6af90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cron/worker/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ca6af90

Please sign in to comment.