🐛 fix connMap not init

This commit is contained in:
微凉
2022-01-30 00:55:12 +08:00
parent f26ac57569
commit 6fd05d7d72
6 changed files with 6 additions and 5 deletions

View File

@ -84,7 +84,7 @@ func GetDriversMap() map[string]Driver {
}
func GetDrivers() map[string][]Item {
res := make(map[string][]Item, 0)
res := make(map[string][]Item)
for k, v := range driversMap {
if v.Config().OnlyProxy {
res[k] = v.Items()