Skip to content

Commit

Permalink
mysql_role: remove redundant connection closing (fixes #329) (#330)
Browse files Browse the repository at this point in the history
* mysql_role: remove redundant connection closing (fixes #329)

* add changelog fragment for pull request #330

Co-authored-by: Felix Hamme <[email protected]>
  • Loading branch information
betanummeric and fhamme authored Apr 5, 2022
1 parent e319ac0 commit 641894e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- "mysql_role - remove redundant connection closing (https://github.com/ansible-collections/community.mysql/pull/330)."
2 changes: 0 additions & 2 deletions plugins/modules/mysql_role.py
Original file line number Diff line number Diff line change
Expand Up @@ -1057,8 +1057,6 @@ def main():
except Exception as e:
module.fail_json(msg=to_native(e))

# Exit
db_conn.close()
module.exit_json(changed=changed)


Expand Down

0 comments on commit 641894e

Please sign in to comment.