Commit 83200a29 authored by Jérome Perrin's avatar Jérome Perrin

stack/erp5: fix haproxy reload script

e7369525 (stack/erp5: make haproxy reload script wait for old worker
processes, 2024-11-10) was an old version of the patch pushed
accidentally, this fixes the broken syntax
parent 3dd443b8
......@@ -94,7 +94,7 @@ md5sum = 9547bacad0635b0f64cac48f15c4e9ae
[template-balancer]
filename = instance-balancer.cfg.in
md5sum = f2a71537d6b514f55cc5b9a1ae9e5299
md5sum = 409a7505548576ebf0e4d5cc218e0753
[template-haproxy-cfg]
filename = haproxy.cfg.in
......
......@@ -348,7 +348,7 @@ inline =
import socket
import sys
import time
ADMIN_SOCKET = '''${haproxy-cfg-parameter-dict:admin-socket}''''
ADMIN_SOCKET = '''${haproxy-cfg-parameter-dict:admin-socket}'''
def send_command(command, connect_retries=10):
with contextlib.closing(socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)) as sock:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment