mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-05 07:42:57 +00:00
Merge pull request #15018 from Bo-Ye/master
metrics: change MetricsEnabledFlag to be const
This commit is contained in:
commit
79cdbcfe64
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
// MetricsEnabledFlag is the CLI flag name to use to enable metrics collections.
|
// MetricsEnabledFlag is the CLI flag name to use to enable metrics collections.
|
||||||
var MetricsEnabledFlag = "metrics"
|
const MetricsEnabledFlag = "metrics"
|
||||||
|
|
||||||
// Enabled is the flag specifying if metrics are enable or not.
|
// Enabled is the flag specifying if metrics are enable or not.
|
||||||
var Enabled = false
|
var Enabled = false
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue