解决排除网卡不生效的bug
This commit is contained in:
parent
f43354fe73
commit
ddb20eb4e2
@ -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