mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix for #24434
This commit is contained in:
parent
c0ff4110ab
commit
1944a743d7
1 changed files with 2 additions and 1 deletions
|
@ -795,7 +795,8 @@ class Minion(MinionBase):
|
|||
' {0}'.format(opts['master']))
|
||||
if opts['master_shuffle']:
|
||||
shuffle(opts['master'])
|
||||
elif isinstance(opts['master'], str):
|
||||
# if opts['master'] is a str and we have never created opts['master_list']
|
||||
elif isinstance(opts['master'], str) and ('master_list' not in opts):
|
||||
# We have a string, but a list was what was intended. Convert.
|
||||
# See issue 23611 for details
|
||||
opts['master'] = list(opts['master'])
|
||||
|
|
Loading…
Add table
Reference in a new issue