forked from prometheus/procfs
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: 吴家榜 <14038@chinasws.com> * modifying netDev.parseLine due to odd interface name Signed-off-by: 吴家榜 <14038@chinasws.com> * adding testing case for net device that has colon in its name Signed-off-by: 吴家榜 <14038@chinasws.com> Co-authored-by: wujiabang <wujiabang@actionsky.com> Co-authored-by: 吴家榜 <14038@chinasws.com>
- Loading branch information
1 parent
6c0d144
commit d826259
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