Browse Source

Remove unused comment.

pull/310/head
stuart nelson 8 years ago
parent
commit
c02dcdeb35
  1. 1
      collector/cpu_dragonfly.go

1
collector/cpu_dragonfly.go

@ -146,7 +146,6 @@ func (c *statCollector) Update(ch chan<- prometheus.Metric) error {
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)), " ")
C.free(unsafe.Pointer(cpuTimesC))
// TODO: Figure out why the string is always growing

Loading…
Cancel
Save