Fix scanner usage without error handling

This commit is contained in:
Tobias Schmidt 2017-02-28 14:31:35 -04:00
commit 084e585c2a
11 changed files with 33 additions and 38 deletions

View file

@ -108,5 +108,5 @@ func parseNetStats(r io.Reader, fileName string) (map[string]map[string]string,
}
}
return netStats, nil
return netStats, scanner.Err()
}