mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
metrics: remove redundant type specifiers
This commit is contained in:
parent
7f6b05aa43
commit
c5fdc76c7e
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue