mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-06 10:40:36 -07:00
Fix USAGE line not filtered
This commit is contained in:
parent
3288c22e64
commit
1e24343375
1 changed files with 1 additions and 1 deletions
|
@ -535,7 +535,7 @@ class MySQL_Info(object):
|
|||
|
||||
priv_string = list()
|
||||
for db_table, priv in user_priv.items():
|
||||
if db_table == '*.*' and priv == 'USAGE':
|
||||
if db_table == '*.*' and priv == ['USAGE']:
|
||||
continue
|
||||
|
||||
# privileges_get returns "'''@''': 'PROXY,GRANT'". The % is missing
|
||||
|
|
Loading…
Add table
Reference in a new issue