Merge pull request #132 from acgpiano/master
解决排除网卡不生效的bug Co-authored-by: acgpiano <15900800+acgpiano@users.noreply.github.com>
This commit is contained in:
commit
f9cd5ef59f
@ -139,7 +139,7 @@ func getDiskTotalAndUsed() (total uint64, used uint64) {
|
||||
|
||||
func isListContainsStr(list []string, str string) bool {
|
||||
for i := 0; i < len(list); i++ {
|
||||
if strings.Contains(list[i], str) {
|
||||
if strings.Contains(str, list[i]) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user