mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-28 00:41:46 -07:00
Fix a typo
This commit is contained in:
parent
5621dce690
commit
de9d0753bf
1 changed files with 1 additions and 1 deletions
|
@ -417,7 +417,7 @@ def privileges_get(cursor, user, host, maria_role=False):
|
||||||
res = re.match("""GRANT (.+) ON (.+) TO (['`"]).*\\3""", grant[0])
|
res = re.match("""GRANT (.+) ON (.+) TO (['`"]).*\\3""", grant[0])
|
||||||
|
|
||||||
if res is None:
|
if res is None:
|
||||||
# If a user have roles assigned, we'll have one of priv tuples looking like
|
# If a user has roles assigned, we'll have one of priv tuples looking like
|
||||||
# GRANT `admin`@`%` TO `user1`@`localhost`
|
# GRANT `admin`@`%` TO `user1`@`localhost`
|
||||||
# which will result None as res value.
|
# which will result None as res value.
|
||||||
# As we use the mysql_role module to manipulate roles
|
# As we use the mysql_role module to manipulate roles
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue