mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #28834 from cachedout/tcp_revert_master_uri
Fix breakage in tcp server
This commit is contained in:
commit
560671a170
1 changed files with 3 additions and 1 deletions
|
@ -82,9 +82,11 @@ class AsyncTCPReqChannel(salt.transport.client.ReqChannel):
|
|||
|
||||
@classmethod
|
||||
def __key(cls, opts, **kwargs):
|
||||
if 'master_uri' in kwargs:
|
||||
opts['master_uri'] = kwargs['master_uri']
|
||||
return (opts['pki_dir'], # where the keys are stored
|
||||
opts['id'], # minion ID
|
||||
kwargs.get('master_uri') or opts.get('master_uri'), # master ID
|
||||
opts['master_uri'],
|
||||
kwargs.get('crypt', 'aes'), # TODO: use the same channel for crypt
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue