Skip to content

Commit

Permalink
metrics: remove redundant type specifiers (ethereum#19090)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthalp-zz authored and kiku-jw committed Mar 29, 2019
1 parent be15afd commit e4ebd1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion metrics/opentsdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"time"
)

var shortHostName string = ""
var shortHostName = ""

// OpenTSDBConfig provides a container with configuration parameters for
// the OpenTSDB exporter
Expand Down

0 comments on commit e4ebd1b

Please sign in to comment.