haproxy: fix SSHFS backend activation in HAProxy

This commit is contained in:
Timothée Floure 2022-06-09 08:38:19 +02:00
parent abcd3337dd
commit f4b6c0f929
Signed by: tfloure
GPG key ID: 4502C902C00A1E12

View file

@ -147,7 +147,7 @@ defmodule HAHandler.Control do
Logger.info("Enabling routing SSHFS to (now) primary #{drbd_instance.haproxy_server}.")
HAProxy.set_server(
@haproxy_pgsql_backend,
@haproxy_drbd_backend,
drbd_instance.haproxy_server,
"state",
"ready"