mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-25 07:21:45 -07:00
Fix: sanity and unity tests
This commit is contained in:
parent
4dc1246532
commit
d9f59806ca
1 changed files with 1 additions and 1 deletions
|
@ -365,7 +365,7 @@ def user_mod(cursor, user, host, host_all, password, encrypted,
|
|||
|
||||
# ... avoiding pointless revocations when ALL are granted
|
||||
if 'ALL' in grant_privs or 'ALL PRIVILEGES' in grant_privs:
|
||||
revoke_privs = list({'GRANT', 'PROXY'} & set(revoke_privs))
|
||||
revoke_privs = list(set(['GRANT', 'PROXY']).intersection(set(revoke_privs)))
|
||||
|
||||
# Only revoke grant option if it exists and absence is requested
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue