From a3ae4fcfa4bb46abb33567b79c4e7bab8692e74a Mon Sep 17 00:00:00 2001 From: Pavel Loginov Date: Sun, 2 Feb 2020 17:42:42 +0300 Subject: [PATCH] v3.12.2.2 Changelog: https://haproxy-wi.org/changelog.py#3_12_2_2 --- app/funct.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/app/funct.py b/app/funct.py index 94b03484..8eaabee9 100644 --- a/app/funct.py +++ b/app/funct.py @@ -538,15 +538,9 @@ def master_slave_upload_and_restart(serv, cfg, just_save, **kwargs): error = "" for master in MASTERS: if master[0] != None: - if kwargs.get("keepalived") == 1: - error += upload_and_restart(master[0], cfg, just_save=just_save, keepalived=1) - else: - error += upload_and_restart(master[0], cfg, just_save=just_save) + error += upload_and_restart(master[0], cfg, just_save=just_save) - if kwargs.get("keepalived") == 1: - error += upload_and_restart(serv, cfg, just_save=just_save, keepalived=1) - else: - error += upload_and_restart(serv, cfg, just_save=just_save) + error += upload_and_restart(serv, cfg, just_save=just_save) return error