mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fixed bug where _prep_acl_for_compare() would edit but not return
This commit is contained in:
parent
f87bc347fd
commit
35b84f1877
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ def _prep_acl_for_compare(ACL):
|
|||
'''
|
||||
ret = deepcopy(ACL)
|
||||
ret['Owner'] = _normalize_user(ret['Owner'])
|
||||
for item in ACL.get('Grants', ()):
|
||||
for item in ret.get('Grants', ()):
|
||||
item['Grantee'] = _normalize_user(item.get('Grantee'))
|
||||
return ret
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue