Skip to content

Commit f57c80d

Browse files
Matthalp-zzkaralabe
authored andcommitted
metrics: remove redundant type specifiers (ethereum#19090)
1 parent 7b3e3d5 commit f57c80d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

metrics/metrics.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
//
2020
// This global kill-switch helps quantify the observer effect and makes
2121
// for less cluttered pprof profiles.
22-
var Enabled bool = false
22+
var Enabled = false
2323

2424
// MetricsEnabledFlag is the CLI flag name to use to enable metrics collections.
2525
const MetricsEnabledFlag = "metrics"

metrics/opentsdb.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"time"
1111
)
1212

13-
var shortHostName string = ""
13+
var shortHostName = ""
1414

1515
// OpenTSDBConfig provides a container with configuration parameters for
1616
// the OpenTSDB exporter

0 commit comments

Comments
 (0)