Skip to content

Commit

Permalink
metrics: fix expensive metrics flag processing
Browse files Browse the repository at this point in the history
  • Loading branch information
karalabe committed Mar 25, 2019
1 parent 71cb816 commit 88c756c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func init() {
}
}
for _, enabler := range expensiveEnablerFlags {
if !Enabled && flag == enabler {
if !EnabledExpensive && flag == enabler {
log.Info("Enabling expensive metrics collection")
EnabledExpensive = true
}
Expand Down

0 comments on commit 88c756c

Please sign in to comment.