Remove unused variable
This commit is contained in:
parent
8b1189b8a7
commit
58d00f50d7
|
@ -187,7 +187,6 @@ func (m *withExemplarsMetric) Write(pb *dto.Metric) error {
|
|||
pb.Counter.Exemplar = m.exemplars[len(m.exemplars)-1]
|
||||
case pb.Histogram != nil:
|
||||
if *pb.Histogram.Schema > math.MinInt32 {
|
||||
exemplars := m.exemplars
|
||||
pb.Histogram.Exemplars = append(pb.Histogram.Exemplars, m.exemplars...)
|
||||
}
|
||||
for _, e := range m.exemplars {
|
||||
|
|
Loading…
Reference in New Issue