Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/modules/postgresql_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def main():
try:
if module.check_mode:
if state == "absent":
changed = not schema_exists(cursor, schema)
changed = schema_exists(cursor, schema)
elif state == "present":
changed = not schema_matches(cursor, schema, owner, comment)
module.exit_json(changed=changed, schema=schema)
Expand Down
Loading