mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 19:50:36 +00:00
metrics: change MetricsEnabledFlag to be const
This commit is contained in:
parent
8c037dc487
commit
b4b27ebaea
@ -29,7 +29,7 @@ import (
|
||||
)
|
||||
|
||||
// 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.
|
||||
var Enabled = false
|
||||
|
Loading…
Reference in New Issue
Block a user