mirror of https://github.com/Aidaho12/haproxy-wi
v7.2.0.0
Remove service check decorator from action_service route The `check_services` decorator was removed from the `action_service` route in the file 'app/routes/service/routes.py'. This change simplifies the code and avoids unnecessary service checks when performing actions on a service.pull/375/head
parent
af25700ede
commit
2b1f3b647a
|
@ -189,7 +189,6 @@ def check_service(service):
|
|||
|
||||
|
||||
@bp.route('/action/<service>/<server_ip>/<action>', methods=['GET'])
|
||||
@check_services
|
||||
def action_service(service, server_ip, action):
|
||||
server_ip = common.is_ip_or_dns(server_ip)
|
||||
|
||||
|
|
Loading…
Reference in New Issue