added missing return
All checks were successful
HAProxy Manager Build and Push / Build-and-Push (push) Successful in 58s
All checks were successful
HAProxy Manager Build and Push / Build-and-Push (push) Successful in 58s
This commit is contained in:
@@ -155,6 +155,7 @@ def regenerate_conf():
|
|||||||
def reload_haproxy():
|
def reload_haproxy():
|
||||||
if is_process_running('haproxy'):
|
if is_process_running('haproxy'):
|
||||||
subprocess.run(['echo', '"reload"', '|', 'socat', 'stdio', '/tmp/haproxy-cli'])
|
subprocess.run(['echo', '"reload"', '|', 'socat', 'stdio', '/tmp/haproxy-cli'])
|
||||||
|
return jsonify({'status': 'success'}), 200
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
result = subprocess.run(
|
result = subprocess.run(
|
||||||
|
Reference in New Issue
Block a user