mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-31 16:37:31 -08:00
Remove unused comment.
This commit is contained in:
parent
3e4a154656
commit
c02dcdeb35
|
@ -146,7 +146,6 @@ func (c *statCollector) Update(ch chan<- prometheus.Metric) error {
|
||||||
return errors.New("could not retrieve CPU times")
|
return errors.New("could not retrieve CPU times")
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Find better way to remove trailing white space.
|
|
||||||
cpuTimes := strings.Split(strings.TrimSpace(C.GoString(cpuTimesC)), " ")
|
cpuTimes := strings.Split(strings.TrimSpace(C.GoString(cpuTimesC)), " ")
|
||||||
C.free(unsafe.Pointer(cpuTimesC))
|
C.free(unsafe.Pointer(cpuTimesC))
|
||||||
// TODO: Figure out why the string is always growing
|
// TODO: Figure out why the string is always growing
|
||||||
|
|
Loading…
Reference in a new issue