mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Cast to list in case tags is a tuple.
This commit is contained in:
parent
287b57b5c5
commit
78fccdc7e2
1 changed files with 1 additions and 1 deletions
|
@ -476,7 +476,7 @@ def set_user_tags(name, tags, runas=None):
|
|||
tags = [tags]
|
||||
|
||||
res = __salt__['cmd.run'](
|
||||
['rabbitmqctl', 'set_user_tags', name] + tags,
|
||||
['rabbitmqctl', 'set_user_tags', name] + list(tags),
|
||||
runas=runas,
|
||||
python_shell=False)
|
||||
msg = "Tag(s) set"
|
||||
|
|
Loading…
Add table
Reference in a new issue