mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-19 08:51:26 -07:00
Refactor user implementation to host get_tls_requires
This commit is contained in:
parent
5460dec642
commit
d77be1ba03
6 changed files with 107 additions and 61 deletions
|
@ -401,7 +401,6 @@ from ansible_collections.community.mysql.plugins.module_utils.mysql import (
|
|||
)
|
||||
from ansible_collections.community.mysql.plugins.module_utils.user import (
|
||||
convert_priv_dict_to_str,
|
||||
get_impl,
|
||||
get_mode,
|
||||
InvalidPrivsError,
|
||||
limit_resources,
|
||||
|
@ -528,8 +527,6 @@ def main():
|
|||
if session_vars:
|
||||
set_session_vars(module, cursor, session_vars)
|
||||
|
||||
get_impl(cursor)
|
||||
|
||||
if priv is not None:
|
||||
try:
|
||||
mode = get_mode(cursor)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue