postgresql_slot - sslrootcert fix (#55277)

(cherry picked from commit 4190985995)
This commit is contained in:
Andrey Klychkov 2019-04-15 12:56:25 +03:00 committed by Toshio Kuratomi
parent 9cdc204139
commit e4d9a5185d
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- postgresql_slot - fixed sslrootcert mapping to psycopg2 connection string

View file

@ -340,7 +340,7 @@ def main():
"login_password": "password",
"port": "port",
"sslmode": "ssl_mode",
"ca_cert": "ssl_rootcert"
"ca_cert": "sslrootcert"
}
kw = dict((params_map[k], v) for (k, v) in module.params.items()
if k in params_map and v != '')