Browse Source

[tm-monitor] rename var

pull/1943/head
Anton Kaliaev 7 years ago
parent
commit
af04238bb9
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      tm-monitor/eventmeter/eventmeter.go

+ 3
- 3
tm-monitor/eventmeter/eventmeter.go View File

@ -48,9 +48,9 @@ type EventMetric struct {
}
func (metric *EventMetric) Copy() *EventMetric {
metric2 := *metric
metric2.meter = metric.meter.Snapshot()
return &metric2
metricCopy := *metric
metricCopy.meter = metric.meter.Snapshot()
return &metricCopy
}
// called on GetMetric


Loading…
Cancel
Save