mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Set auth retry count to 0 if multimaster mode is failover.
Backport of PR #31382 into 2015.5.
This commit is contained in:
parent
26733ce988
commit
3d09c3b7a3
@ -815,6 +815,7 @@ class Minion(MinionBase):
|
||||
opts['master_active_list'] = opts['master']
|
||||
if opts.get('master_shuffle'):
|
||||
shuffle(opts['master_list'])
|
||||
opts['auth_tries'] = 0
|
||||
elif isinstance(opts['master'], str):
|
||||
# We have a string, but a list was what was intended. Convert.
|
||||
# See issue 23611 for details
|
||||
|
Loading…
Reference in New Issue
Block a user