You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: main.go
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,9 @@ var opts struct {
31
31
ApiUrlstring`long:"api-url" env:"API_URL" description:"Azure ScheduledEvents API URL" default:"http://169.254.169.254/metadata/scheduledevents?api-version=2017-11-01"`
32
32
ApiTimeout time.Duration`long:"api-timeout" env:"API_TIMEOUT" description:"Azure API timeout (seconds)" default:"30s"`
33
33
ApiErrorThresholdint`long:"api-error-threshold" env:"API_ERROR_THRESHOLD" description:"Azure API error threshold (after which app will panic)" default:"0"`
0 commit comments