Removing unneccesary code.

This commit is contained in:
Gareth J. Greenaway 2018-09-24 17:59:36 -07:00
parent e66dc18805
commit 75f64a602b
No known key found for this signature in database
GPG key ID: 10B62F8A7CAD7A41

View file

@ -163,7 +163,6 @@ def resolve_dns(opts, fallback=True):
while True:
if retry_dns_count is not None:
if retry_dns_count == 0:
ret['master_ip'] = '127.0.0.1'
raise SaltMasterUnresolvableError
retry_dns_count -= 1
import salt.log
@ -995,7 +994,6 @@ class MinionManager(MinionBase):
self._connect_minion(minion)
log.error(self.minions)
if not self.minions:
err = ('Minion unable to successfully connect to '
'a Salt Master. Exiting.')