Merge pull request #898 from prometheus/superq/fmt

Fix formatting.
This commit is contained in:
Ben Kochie 2018-04-15 08:13:20 +02:00 committed by GitHub
commit 6025dc207d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 65 additions and 701 deletions

File diff suppressed because it is too large Load Diff

View File

@ -52,7 +52,7 @@ func parseNetDevStats(r io.Reader, ignore *regexp.Regexp) (map[string]map[string
receiveHeader := strings.Fields(parts[1])
transmitHeader := strings.Fields(parts[2])
headerLength := len(receiveHeader)+len(transmitHeader)+1
headerLength := len(receiveHeader) + len(transmitHeader) + 1
netDev := map[string]map[string]string{}
for scanner.Scan() {