From d83cdefcd4609b2acdb94970f5a3a885ab8c65e4 Mon Sep 17 00:00:00 2001 From: Perry Naseck Date: Sat, 22 Oct 2022 12:37:24 -0400 Subject: [PATCH] fix gofmt for update to exporter-toolkit v0.8.1 Signed-off-by: Perry Naseck --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index bd9edc55b..c249ffd67 100644 --- a/main.go +++ b/main.go @@ -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(