Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct usages of module.warn #53268

Merged
merged 1 commit into from
Mar 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/ansible/modules/database/postgresql/postgresql_idx.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
type: str
sample: 'ssd'
query:
description: Query that was tried to be execute.
description: Query that was tried to be executed.
returned: always
type: str
sample: 'CREATE INDEX CONCURRENTLY foo_idx ON test_table USING BTREE (id)'
Expand Down Expand Up @@ -569,7 +569,7 @@ def main():

if not module.check_mode and not kw['valid'] and concurrent:
db_connection.rollback()
module.warn(msg="Index %s is invalid! ROLLBACK" % idxname)
module.warn("Index %s is invalid! ROLLBACK" % idxname)

if not concurrent:
if module.check_mode:
Expand Down