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

[PR #330/641894e6 backport][stable-2] mysql_role: remove redundant connection closing (fixes #329) #332

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Apr 5, 2022

This is a backport of PR #330 as merged into main (641894e).

fix #329

the connection is already closed during garbage collection: https://github.com/ansible-collections/community.mysql/blob/main/plugins/module_utils/mysql.py#L113-L116

* mysql_role: remove redundant connection closing (fixes #329)

* add changelog fragment for pull request #330

Co-authored-by: Felix Hamme <[email protected]>
(cherry picked from commit 641894e)
@codecov
Copy link

codecov bot commented Apr 5, 2022

Codecov Report

Merging #332 (090b2b0) into stable-2 (9857a16) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           stable-2     #332      +/-   ##
============================================
- Coverage     75.77%   75.76%   -0.02%     
============================================
  Files            26       26              
  Lines          2291     2290       -1     
  Branches        541      541              
============================================
- Hits           1736     1735       -1     
  Misses          380      380              
  Partials        175      175              
Impacted Files Coverage Δ
plugins/modules/mysql_role.py 80.13% <ø> (-0.07%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9857a16...090b2b0. Read the comment docs.

@Andersson007 Andersson007 merged commit d38813d into stable-2 Apr 5, 2022
@Andersson007 Andersson007 deleted the patchback/backports/stable-2/641894e6e8fa0c02384e64e7eaaaf5e5e45b82a0/pr-330 branch May 13, 2022 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants