mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-07-23 05:11:40 +02:00
Replace FieldList() by Fields()
This commit is contained in:
@@ -146,8 +146,8 @@ func getParamMap(point lp.CCMetric) map[string]interface{} {
|
||||
for key, value := range point.Meta() {
|
||||
params[key] = value
|
||||
}
|
||||
for _, f := range point.FieldList() {
|
||||
params[f.Key] = f.Value
|
||||
for key, value := range point.Fields() {
|
||||
params[key] = value
|
||||
}
|
||||
params["timestamp"] = point.Time()
|
||||
return params
|
||||
|
Reference in New Issue
Block a user