go fmt ./...

This commit is contained in:
Boian Berberov 2016-06-23 20:31:03 +00:00
parent 7659b08a40
commit 09d306aad3
1 changed files with 3 additions and 3 deletions

View File

@ -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
}
}
}