From 40c5d5e3516b225ffddb3cfd14bc6673004d960e Mon Sep 17 00:00:00 2001 From: Oleksii Kliukin Date: Mon, 19 Oct 2015 16:08:52 +0200 Subject: [PATCH] Match default param in the abstract class definition with those from the implementation. --- patroni/dcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patroni/dcs.py b/patroni/dcs.py index 48d49cf5..a8afda06 100644 --- a/patroni/dcs.py +++ b/patroni/dcs.py @@ -240,7 +240,7 @@ class AbstractDCS: overwriting the key if necessary.""" @abc.abstractmethod - def initialize(self, create_new=True, sysid=None): + def initialize(self, create_new=True, sysid=""): """Race for cluster initialization. :param create_new: False if the key should already exist (in the case we are setting the system_id)