Skip to content

Commit b4b27eb

Browse files
committed
metrics: change MetricsEnabledFlag to be const
1 parent 8c037dc commit b4b27eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎metrics/metrics.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import (
2929
)
3030

3131
// MetricsEnabledFlag is the CLI flag name to use to enable metrics collections.
32-
var MetricsEnabledFlag = "metrics"
32+
const MetricsEnabledFlag = "metrics"
3333

3434
// Enabled is the flag specifying if metrics are enable or not.
3535
var Enabled = false

0 commit comments

Comments
 (0)