Merge pull request #15018 from Bo-Ye/master

metrics: change MetricsEnabledFlag to be const
release/1.7
Péter Szilágyi 7 years ago committed by GitHub
commit 79cdbcfe64
  1. 2
      metrics/metrics.go

@ -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…
Cancel
Save