From 09d306aad327bb7241052ad482b52bf643dd27cc Mon Sep 17 00:00:00 2001 From: Boian Berberov Date: Thu, 23 Jun 2016 20:31:03 +0000 Subject: [PATCH] go fmt ./... --- plugins/inputs/procstat/spec_processor.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/inputs/procstat/spec_processor.go b/plugins/inputs/procstat/spec_processor.go index a97e0c04e..2692cfe04 100644 --- a/plugins/inputs/procstat/spec_processor.go +++ b/plugins/inputs/procstat/spec_processor.go @@ -1,9 +1,9 @@ package procstat import ( - "time" "regexp" "strconv" + "time" "github.com/shirou/gopsutil/process" @@ -39,7 +39,7 @@ func NewSpecProcessor( if cmdlineRegex != "" { val := CmdlineSubstrings(p, &cmdlineRegex) for i, value := range val { - tags["cmdline." + strconv.Itoa(i)] = value + tags["cmdline."+strconv.Itoa(i)] = value } } @@ -56,7 +56,7 @@ func NewSpecProcessor( if parentCmdlineRegex != "" { val := CmdlineSubstrings(pp, &parentCmdlineRegex) for i, value := range val { - tags["pcmdline." + strconv.Itoa(i)] = value + tags["pcmdline."+strconv.Itoa(i)] = value } } }