mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #40096 from skizunov/develop3
When building up the 'master_uri_list', do not try to connect
This commit is contained in:
commit
31da90edd9
1 changed files with 1 additions and 1 deletions
|
@ -541,7 +541,7 @@ class MinionBase(object):
|
|||
for master in opts['local_masters']:
|
||||
opts['master'] = master
|
||||
opts.update(prep_ip_port(opts))
|
||||
opts['master_uri_list'].append(resolve_dns(opts)['master_uri'])
|
||||
opts['master_uri_list'].append(resolve_dns(opts, connect=False)['master_uri'])
|
||||
|
||||
while True:
|
||||
if attempts != 0:
|
||||
|
|
Loading…
Add table
Reference in a new issue