DispatcherS proper detection of RouteID

This commit is contained in:
DanB
2019-05-17 11:07:27 +02:00
parent 04ea7f0d8f
commit bed6386bed

View File

@@ -231,8 +231,9 @@ func (dS *DispatcherService) CacheSv1ReloadCache(args utils.AttrReloadCacheWithA
tnt = args.TenantArg.Tenant
}
var routeID *string
if args.RouteID != nil {
routeID = args.RouteID
if args.ArgDispatcher != nil &&
args.ArgDispatcher.RouteID != nil {
routeID = args.ArgDispatcher.RouteID
}
if dS.attrS != nil {
if args.ArgDispatcher == nil {