mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
Explicitly cast some parameters from DCS to int (ttl, loop_wait, etc...)
This commit is contained in:
+1
-1
@@ -142,7 +142,7 @@ class Config(object):
|
||||
elif name not in ('connect_address', 'listen', 'data_dir', 'pgpass', 'authentication'):
|
||||
config['postgresql'][name] = deepcopy(value)
|
||||
elif name in config:
|
||||
config[name] = value
|
||||
config[name] = int(value)
|
||||
return config
|
||||
|
||||
def _build_effective_configuration(self, dynamic_configuration, local_configuration):
|
||||
|
||||
Reference in New Issue
Block a user