added missing return

This commit is contained in:
jknapp 2025-03-09 11:11:35 -07:00
parent cb58f1d762
commit 9de12c72de

@ -155,6 +155,7 @@ def regenerate_conf():
def reload_haproxy():
if is_process_running('haproxy'):
subprocess.run(['echo', '"reload"', '|', 'socat', 'stdio', '/tmp/haproxy-cli'])
return jsonify({'status': 'success'}), 200
else:
try:
result = subprocess.run(