forked from cpanel/elevate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RE-34: Move up the recording of the active remote MySQL profile
Fixes an issue where it was not recorded when the `try` block actually succeeded. I also golfed things down a bit where I could. Notably, the unit test I had to modify died along the critical path until I added a Test::MockFile invocation RE /var/cpanel/elevate-mysql-profile. I am pretty sure that this along with my manual testing should ensure this functions properly going forward. Changelog: Fix minor bug in original RE-34 fix where it would not always record the active profile.
- Loading branch information
1 parent
5ef8705
commit 44a5193
Showing
3 changed files
with
85 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters