去除重复代码 (#641)
This commit is contained in:
parent
c2f98583e1
commit
50f4cc10c4
|
@ -55,7 +55,6 @@ func (kafka *KafkaPushEndpoint) convert2KafkaItem(d *dataobj.MetricValue) KafkaD
|
||||||
m["metric"] = d.Metric
|
m["metric"] = d.Metric
|
||||||
m["value"] = d.Value
|
m["value"] = d.Value
|
||||||
m["timestamp"] = d.Timestamp
|
m["timestamp"] = d.Timestamp
|
||||||
m["value"] = d.Value
|
|
||||||
m["step"] = d.Step
|
m["step"] = d.Step
|
||||||
m["endpoint"] = d.Endpoint
|
m["endpoint"] = d.Endpoint
|
||||||
m["tags"] = d.Tags
|
m["tags"] = d.Tags
|
||||||
|
|
Loading…
Reference in New Issue