优化代码

This commit is contained in:
GoEdgeLab
2024-03-31 12:54:30 +08:00
parent 841e04775c
commit 1a74bcd76c
5 changed files with 51 additions and 51 deletions

View File

@@ -120,9 +120,9 @@ func (this *IPListManager) init() {
var db IPListDB
var err error
if sqliteErr == nil {
db, err = NewIPListSqlite()
db, err = NewSQLiteIPList()
} else {
db, err = NewIPListKV()
db, err = NewKVIPList()
}
if err != nil {