summaryrefslogtreecommitdiff
path: root/status/02-cpu.go
diff options
context:
space:
mode:
Diffstat (limited to 'status/02-cpu.go')
-rw-r--r--status/02-cpu.go9
1 files changed, 1 insertions, 8 deletions
diff --git a/status/02-cpu.go b/status/02-cpu.go
index a7b97cf..f67d908 100644
--- a/status/02-cpu.go
+++ b/status/02-cpu.go
@@ -132,12 +132,5 @@ func cpu(name string) error {
}
func init() {
- name := "cpu"
- register(name)
-
- go func(){
- for {
- checkError(name, cpu(name))
- }
- }()
+ register("cpu", cpu)
}