mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-28 23:19:46 -08:00
Fix formatting.
Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
parent
4c863f3b5d
commit
0507b0c9a2
|
@ -52,7 +52,7 @@ func parseNetDevStats(r io.Reader, ignore *regexp.Regexp) (map[string]map[string
|
||||||
|
|
||||||
receiveHeader := strings.Fields(parts[1])
|
receiveHeader := strings.Fields(parts[1])
|
||||||
transmitHeader := strings.Fields(parts[2])
|
transmitHeader := strings.Fields(parts[2])
|
||||||
headerLength := len(receiveHeader)+len(transmitHeader)+1
|
headerLength := len(receiveHeader) + len(transmitHeader) + 1
|
||||||
|
|
||||||
netDev := map[string]map[string]string{}
|
netDev := map[string]map[string]string{}
|
||||||
for scanner.Scan() {
|
for scanner.Scan() {
|
||||||
|
|
Loading…
Reference in a new issue