0001-check_hobos-allow-several-tempates-for-user-agent-co.patch
wcs/ctl/check_hobos.py | ||
---|---|---|
406 | 406 |
continue |
407 | 407 | |
408 | 408 |
if service.get('service-id') == 'combo': |
409 |
if service.get('template_name') == 'portal-agent':
|
|
409 |
if 'portal-agent' in service.get('template_name', ''):
|
|
410 | 410 |
variables['portal_agent_url'] = service_url |
411 | 411 |
variables['portal_agent_title'] = service.get('title') |
412 |
elif service.get('template_name') == 'portal-user':
|
|
412 |
elif 'portal-user' in service.get('template_name', ''):
|
|
413 | 413 |
variables['portal_url'] = service_url |
414 | 414 |
variables['portal_user_url'] = service_url |
415 | 415 |
variables['portal_user_title'] = service.get('title') |
416 |
- |