postgresql_slot - sslrootcert fix (#55277)
(cherry picked from commit 4190985995
)
This commit is contained in:
parent
9cdc204139
commit
e4d9a5185d
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/postgresql_slot-fix-sslrootcert.yml
Normal file
2
changelogs/fragments/postgresql_slot-fix-sslrootcert.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
bugfixes:
|
||||||
|
- postgresql_slot - fixed sslrootcert mapping to psycopg2 connection string
|
|
@ -340,7 +340,7 @@ def main():
|
||||||
"login_password": "password",
|
"login_password": "password",
|
||||||
"port": "port",
|
"port": "port",
|
||||||
"sslmode": "ssl_mode",
|
"sslmode": "ssl_mode",
|
||||||
"ca_cert": "ssl_rootcert"
|
"ca_cert": "sslrootcert"
|
||||||
}
|
}
|
||||||
kw = dict((params_map[k], v) for (k, v) in module.params.items()
|
kw = dict((params_map[k], v) for (k, v) in module.params.items()
|
||||||
if k in params_map and v != '')
|
if k in params_map and v != '')
|
||||||
|
|
Loading…
Reference in a new issue