mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-30 01:19:35 +00:00
Make QuantifiedCode happy
This commit is contained in:
+2
-1
@@ -130,7 +130,8 @@ class Config(object):
|
||||
if dry_run:
|
||||
raise
|
||||
|
||||
def _process_postgresql_parameters(self, parameters, is_local=False):
|
||||
@staticmethod
|
||||
def _process_postgresql_parameters(parameters, is_local=False):
|
||||
ret = {}
|
||||
for name, value in (parameters or {}).items():
|
||||
if name not in Postgresql.CMDLINE_OPTIONS or not is_local and Postgresql.CMDLINE_OPTIONS[name][1](value):
|
||||
|
||||
Reference in New Issue
Block a user