From e424d47ce63599489ae5010fc96d084668db8c5d Mon Sep 17 00:00:00 2001 From: Ranjib Dey Date: Mon, 5 Oct 2015 15:38:59 -0700 Subject: [PATCH] fix plugin registration name --- plugins/procstat/procstat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/procstat/procstat.go b/plugins/procstat/procstat.go index 28a221bf5..df7c3c84b 100644 --- a/plugins/procstat/procstat.go +++ b/plugins/procstat/procstat.go @@ -98,7 +98,7 @@ func pidFromExe(exe string) (int, error) { } func init() { - plugins.Add("process", func() plugins.Plugin { + plugins.Add("procstat", func() plugins.Plugin { return NewProcstat() }) }