metrics: remove redundant type specifiers (#19090)

ChrisChinchilla-patch-3
Matthew Halpern 6 years ago committed by Péter Szilágyi
parent 7b3e3d549e
commit f57c80d22e
  1. 2
      metrics/metrics.go
  2. 2
      metrics/opentsdb.go

@ -19,7 +19,7 @@ import (
// //
// This global kill-switch helps quantify the observer effect and makes // This global kill-switch helps quantify the observer effect and makes
// for less cluttered pprof profiles. // for less cluttered pprof profiles.
var Enabled bool = false var Enabled = false
// MetricsEnabledFlag is the CLI flag name to use to enable metrics collections. // MetricsEnabledFlag is the CLI flag name to use to enable metrics collections.
const MetricsEnabledFlag = "metrics" const MetricsEnabledFlag = "metrics"

@ -10,7 +10,7 @@ import (
"time" "time"
) )
var shortHostName string = "" var shortHostName = ""
// OpenTSDBConfig provides a container with configuration parameters for // OpenTSDBConfig provides a container with configuration parameters for
// the OpenTSDB exporter // the OpenTSDB exporter

Loading…
Cancel
Save