Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions salt/metaproxy/deltaproxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,12 @@ async def subproxy_post_master_init(minion_id, uid, opts, main_proxy, main_utils
)

_proxy_minion = ProxyMinion(proxyopts)
# Sub-proxies never run connect_master, so self.tok
# is never set by the usual master-connection path.
# Initialize to None to prevent AttributeError in
# paths that reference self.tok. The tok is
# regenerated by the channel layer on send anyway.
_proxy_minion.tok = None
_proxy_minion.proc_dir = salt.minion.get_proc_dir(proxyopts["cachedir"], uid=uid)

# And load the modules
Expand Down