rename method
This commit is contained in:
parent
f267965a0e
commit
5a2eb8c415
|
|
@ -112,11 +112,11 @@ func (m *Metrics) processPoints(asset Asset) error {
|
||||||
if asset == nil {
|
if asset == nil {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
influxPoints, err := asset.Points()
|
points, err := asset.Points()
|
||||||
if err != nil || influxPoints == nil {
|
if err != nil || points == nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
m.BatchPoints.AddPoints(influxPoints)
|
m.BatchPoints.AddPoints(points)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue