Commit 79cdbcfe authored by Péter Szilágyi's avatar Péter Szilágyi Committed by GitHub

Merge pull request #15018 from Bo-Ye/master

metrics: change MetricsEnabledFlag to be const
parents fc5f8a3d b4b27eba
...@@ -29,7 +29,7 @@ import ( ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment