Updated ArgDispatcher with Opts

This commit is contained in:
adragusin
2020-07-09 18:00:19 +03:00
committed by Dan Christian Bogos
parent c6c1569554
commit ea112a66b3
40 changed files with 491 additions and 491 deletions

View File

@@ -349,8 +349,8 @@ func main() {
}
// reload cache
if err = tpReader.ReloadCache(ldrCfg.GeneralCfg().DefaultCaching, *verbose, &utils.ArgDispatcher{
APIKey: apiKey,
RouteID: routeID,
OptsAPIKey: apiKey,
OptsRouteID: routeID,
}); err != nil {
log.Fatal("Could not reload cache: ", err)
}