postgresql_subscription: fix typo in module.warn method name (#64583)
* postgresql_subscription: fix typo in module.warn method name * postgresql_subscription: fix typo in module.warn method name, add changelog
This commit is contained in:
parent
2039bf45fe
commit
5e3fda5582
2 changed files with 7 additions and 5 deletions
|
@ -0,0 +1,2 @@
|
||||||
|
bugfixes:
|
||||||
|
- postgresql_subscription - fix typo in module.warn method name (https://github.com/ansible/ansible/pull/64583).
|
|
@ -639,17 +639,17 @@ def main():
|
||||||
relinfo = module.params['relinfo']
|
relinfo = module.params['relinfo']
|
||||||
|
|
||||||
if state == 'present' and cascade:
|
if state == 'present' and cascade:
|
||||||
module.warm('parameter "cascade" is ignored when state is not absent')
|
module.warn('parameter "cascade" is ignored when state is not absent')
|
||||||
|
|
||||||
if state != 'present':
|
if state != 'present':
|
||||||
if owner:
|
if owner:
|
||||||
module.warm("parameter 'owner' is ignored when state is not 'present'")
|
module.warn("parameter 'owner' is ignored when state is not 'present'")
|
||||||
if publications:
|
if publications:
|
||||||
module.warm("parameter 'publications' is ignored when state is not 'present'")
|
module.warn("parameter 'publications' is ignored when state is not 'present'")
|
||||||
if connparams:
|
if connparams:
|
||||||
module.warm("parameter 'connparams' is ignored when state is not 'present'")
|
module.warn("parameter 'connparams' is ignored when state is not 'present'")
|
||||||
if subsparams:
|
if subsparams:
|
||||||
module.warm("parameter 'subsparams' is ignored when state is not 'present'")
|
module.warn("parameter 'subsparams' is ignored when state is not 'present'")
|
||||||
|
|
||||||
# Connect to DB and make cursor object:
|
# Connect to DB and make cursor object:
|
||||||
pg_conn_params = get_conn_params(module, module.params)
|
pg_conn_params = get_conn_params(module, module.params)
|
||||||
|
|
Loading…
Reference in a new issue