Skip to content

Commit

Permalink
Fix a bug in flag parsing (#836)
Browse files Browse the repository at this point in the history
Co-authored-by: Azeem Shaikh <azeems@google.com>
  • Loading branch information
azeemshaikh38 and azeemsgoogle committed Aug 11, 2021
1 parent 0f6cbc1 commit 4fcb0a3
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 4fcb0a3

Please sign in to comment.