diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-08-23 18:22:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-23 18:22:46 +0800 |
commit | 79cdbcfe646be0d8f41111f80fdea41cda0f0104 (patch) | |
tree | eb54a309e6f69ae39a754911c41ab5a4508f0d31 | |
parent | fc5f8a3dda29712c619e9df99e7f8b1ebc2c8ea7 (diff) | |
parent | b4b27ebaea3e1145926555b139a2910af855215e (diff) | |
download | go-tangerine-79cdbcfe646be0d8f41111f80fdea41cda0f0104.tar.gz go-tangerine-79cdbcfe646be0d8f41111f80fdea41cda0f0104.tar.zst go-tangerine-79cdbcfe646be0d8f41111f80fdea41cda0f0104.zip |
Merge pull request #15018 from Bo-Ye/master
metrics: change MetricsEnabledFlag to be const
-rw-r--r-- | metrics/metrics.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/metrics/metrics.go b/metrics/metrics.go index 9906bb8ad..da2cdbc53 100644 --- a/metrics/metrics.go +++ b/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 |