fix auth for file handler

This commit is contained in:
ginuerzh
2023-12-16 14:28:58 +08:00
parent b1390dda1c
commit f847fa533e
17 changed files with 263 additions and 201 deletions

View File

@ -291,7 +291,7 @@ func parseForwarder(cfg *config.ForwarderConfig) (hop.Hop, error) {
}
}
if len(hc.Nodes) > 0 {
return hop_parser.ParseHop(&hc)
return hop_parser.ParseHop(&hc, logger.Default())
}
return registry.HopRegistry().Get(hc.Name), nil
}