forked from prometheus/procfs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug when /proc/net/dev contains unexpected line (prometheus#421)
* fix bug when /proc/net/dev contains unexpected line Signed-off-by: 吴家榜 <[email protected]> * modifying netDev.parseLine due to odd interface name Signed-off-by: 吴家榜 <[email protected]> * adding testing case for net device that has colon in its name Signed-off-by: 吴家榜 <[email protected]> Co-authored-by: wujiabang <[email protected]> Co-authored-by: 吴家榜 <[email protected]>
- Loading branch information
1 parent
4f613c6
commit 081c329
Showing
2 changed files
with
16 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters