Skip to content

Commit

Permalink
fix gofmt for update to exporter-toolkit v0.8.1
Browse files Browse the repository at this point in the history
Signed-off-by: Perry Naseck <git@perrynaseck.com>
  • Loading branch information
DaAwesomeP committed Oct 22, 2022
1 parent e840fb8 commit 1c3c388
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Expand Up @@ -41,9 +41,9 @@ import (
)

var (
configFile = kingpin.Flag("config.file", "Path to configuration file.").Default("snmp.yml").String()
dryRun = kingpin.Flag("dry-run", "Only verify configuration is valid and exit.").Default("false").Bool()
toolkitFlags = webflag.AddFlags(kingpin.CommandLine, ":9116")
configFile = kingpin.Flag("config.file", "Path to configuration file.").Default("snmp.yml").String()
dryRun = kingpin.Flag("dry-run", "Only verify configuration is valid and exit.").Default("false").Bool()
toolkitFlags = webflag.AddFlags(kingpin.CommandLine, ":9116")

// Metrics about the SNMP exporter itself.
snmpDuration = promauto.NewSummaryVec(
Expand Down

0 comments on commit 1c3c388

Please sign in to comment.