mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix more deltaproxy tests
This commit is contained in:
parent
ca241b75d4
commit
486802f6dd
3 changed files with 5 additions and 2 deletions
|
@ -12,6 +12,7 @@ if sys.version_info < (3,):
|
|||
)
|
||||
sys.stderr.flush()
|
||||
|
||||
|
||||
USE_VENDORED_TORNADO = False
|
||||
|
||||
|
||||
|
|
|
@ -356,10 +356,11 @@ def post_master_init(self, master):
|
|||
except Exception as exc: # pylint: disable=broad-except
|
||||
log.error("Errors loading sub proxies")
|
||||
|
||||
_failed = self.opts["proxy"].get("ids", [])
|
||||
_failed = self.opts["proxy"].get("ids", [])[:]
|
||||
for sub_proxy_data in results:
|
||||
minion_id = sub_proxy_data["proxy_opts"].get("id")
|
||||
_failed.remove(minion_id)
|
||||
if minion_id in _failed:
|
||||
_failed.remove(minion_id)
|
||||
|
||||
if sub_proxy_data["proxy_minion"]:
|
||||
self.deltaproxy_opts[minion_id] = sub_proxy_data["proxy_opts"]
|
||||
|
|
|
@ -1162,6 +1162,7 @@ class MinionManager(MinionBase):
|
|||
minion.opts["master"],
|
||||
exc_info=True,
|
||||
)
|
||||
break
|
||||
|
||||
# Multi Master Tune In
|
||||
def tune_in(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue