Skip to content

Commit

Permalink
metrics: fix expensive metrics flag processing (ethereum#19327)
Browse files Browse the repository at this point in the history
  • Loading branch information
gzliudan authored and JukLee0ira committed Dec 22, 2024
1 parent 787e979 commit 3fbc18e
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 3fbc18e

Please sign in to comment.