From c02dcdeb35718dedc5b1d5beda6dd19e549b2ea7 Mon Sep 17 00:00:00 2001 From: stuart nelson Date: Sun, 18 Sep 2016 14:21:54 +0200 Subject: [PATCH] Remove unused comment. --- collector/cpu_dragonfly.go | 1 - 1 file changed, 1 deletion(-) diff --git a/collector/cpu_dragonfly.go b/collector/cpu_dragonfly.go index f50e0dc7..d51cfe5d 100644 --- a/collector/cpu_dragonfly.go +++ b/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