mirror of https://github.com/Aidaho12/haproxy-wi
parent
a8d401d253
commit
58e7dc6d81
|
@ -35,7 +35,7 @@ def update_roxy_wi(service: str) -> str:
|
||||||
restart_service = ''
|
restart_service = ''
|
||||||
services = roxy_sql.get_roxy_tools()
|
services = roxy_sql.get_roxy_tools()
|
||||||
|
|
||||||
if service not in services:
|
if service not in services and service != 'roxy-wi':
|
||||||
raise Exception(f'error: {service} is not part of Roxy-WI')
|
raise Exception(f'error: {service} is not part of Roxy-WI')
|
||||||
|
|
||||||
if service != 'roxy-wi':
|
if service != 'roxy-wi':
|
||||||
|
|
Loading…
Reference in New Issue