Skip to content

Commit 896dfc7

Browse files
author
Olve S. Hansen
committed
Corrected duplicate flag names
1 parent 91b9dcc commit 896dfc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stackdriver_exporter.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ var (
5555
).Envar("STACKDRIVER_EXPORTER_HTTP_TIMEOUT").Default("10s").Duration()
5656

5757
stackdriverMaxBackoffDuration = kingpin.Flag(
58-
"stackdriver.http-timeout", "Max time between each request in an exp backoff scenario ($STACKDRIVER_EXPORTER_MAX_BACKOFF_DURATION)",
58+
"stackdriver.max-backoff", "Max time between each request in an exp backoff scenario ($STACKDRIVER_EXPORTER_MAX_BACKOFF_DURATION)",
5959
).Envar("STACKDRIVER_EXPORTER_MAX_BACKOFF_DURATION").Default("5s").Duration()
6060

6161
stackdriverBackoffJitterBase = kingpin.Flag(
62-
"stackdriver.http-timeout", "The amount of jitter to introduce in a exp backoff scenario ($STACKDRIVER_EXPORTER_BACKODFF_JITTER_BASE)",
62+
"stackdriver.backoff-jitter", "The amount of jitter to introduce in a exp backoff scenario ($STACKDRIVER_EXPORTER_BACKODFF_JITTER_BASE)",
6363
).Envar("STACKDRIVER_EXPORTER_BACKODFF_JITTER_BASE").Default("1s").Duration()
6464

6565
stackdriverRetryStatuses = kingpin.Flag(

0 commit comments

Comments
 (0)