Commit f57c80d2 authored by Matthew Halpern's avatar Matthew Halpern Committed by Péter Szilágyi

metrics: remove redundant type specifiers (#19090)

parent 7b3e3d54
......@@ -19,7 +19,7 @@ import (
//
// This global kill-switch helps quantify the observer effect and makes
// for less cluttered pprof profiles.
var Enabled bool = false
var Enabled = false
// MetricsEnabledFlag is the CLI flag name to use to enable metrics collections.
const MetricsEnabledFlag = "metrics"
......
......@@ -10,7 +10,7 @@ import (
"time"
)
var shortHostName string = ""
var shortHostName = ""
// OpenTSDBConfig provides a container with configuration parameters for
// the OpenTSDB exporter
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment