Fix: parse error in proxyGroupsDagSort (#298)

This commit is contained in:
Comzyh
2019-09-13 15:04:51 +08:00
committed by Dreamacro
parent 112b3e5a6c
commit b3e10c05e6
3 changed files with 23 additions and 16 deletions

View File

@ -302,7 +302,7 @@ func parseProxies(cfg *rawConfig) (map[string]C.Proxy, error) {
}
// check if any loop exists and sort the ProxyGroups
if err := proxyGroupsDagSort(groupsConfig); err != nil {
if err := proxyGroupsDagSort(groupsConfig, decoder); err != nil {
return nil, err
}