From f4b6c0f929715adb04802ac414a28416bf9c9545 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Floure?= Date: Thu, 9 Jun 2022 08:38:19 +0200 Subject: [PATCH] haproxy: fix SSHFS backend activation in HAProxy --- lib/ha_handler/control.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ha_handler/control.ex b/lib/ha_handler/control.ex index 1724526..70938c4 100644 --- a/lib/ha_handler/control.ex +++ b/lib/ha_handler/control.ex @@ -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"