Changed list conversion to use correct method and return whole set

This commit is contained in:
Adam Tengler 2016-01-28 11:20:19 +01:00
parent 97eb4b8bf7
commit 12dc677628

View file

@ -169,7 +169,7 @@ def present(name,
return ret
ret['changes'].update({'tags':
{'old': tags,
'new': new_tags.pop()}})
'new': list(new_tags)}})
try:
existing_perms = __salt__['rabbitmq.list_user_permissions'](name, runas=runas)
except CommandExecutionError as err: