From 8449fb3c900f1c20f7a39af713210c355ef2f27b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc?= Date: Wed, 27 Jul 2016 23:16:15 +0200 Subject: [PATCH] Fix argument type to bool. By default shutdown_sessions is always true then it should'nt. (#2596) --- network/haproxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/haproxy.py b/network/haproxy.py index f9b7661243d..2fc11987d50 100644 --- a/network/haproxy.py +++ b/network/haproxy.py @@ -330,7 +330,7 @@ def main(): backend=dict(required=False, default=None), weight=dict(required=False, default=None), socket = dict(required=False, default=DEFAULT_SOCKET_LOCATION), - shutdown_sessions=dict(required=False, default=False), + shutdown_sessions=dict(required=False, default=False, type='bool'), fail_on_not_found=dict(required=False, default=False, type='bool'), wait=dict(required=False, default=False, type='bool'), wait_retries=dict(required=False, default=WAIT_RETRIES, type='int'),