Improving alert support
This commit is contained in:
@ -51,7 +51,7 @@ route:
|
||||
- match_re:
|
||||
%%{route.alRouteMatchRegExpSource}: %%{route.alRouteMatchRegExp}
|
||||
receiver: %%route.alRouteMatchRegxpRecv
|
||||
%if not is_empty('alSubRoute')
|
||||
%if not %%is_empty('alSubRoute')
|
||||
routes:
|
||||
%for sroute in %%getVar('alSubRoute',[])
|
||||
# The service has a sub-route for critical alerts, any alerts
|
||||
@ -70,7 +70,7 @@ route:
|
||||
%%{rt.alRouteMatchSource}: %%{rt.alRouteMatchValue}
|
||||
receiver: %%rt.alRouteMatchReceiver
|
||||
|
||||
%if not is_empty('alSubRoute')
|
||||
%if not %%is_empty('alSubRoute')
|
||||
routes:
|
||||
%for sroute in %%getVar('alSubRoute',[])
|
||||
%if %%sroute == %%rt
|
||||
|
Reference in New Issue
Block a user