Merge pull request #19327 from karalabe/fix-expensive-metrics

metrics: fix expensive metrics flag processing
pull/19331/head
Péter Szilágyi 6 years ago committed by GitHub
commit acbb8a1439
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      metrics/metrics.go

@ -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
}

Loading…
Cancel
Save