mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Change logic
This commit is contained in:
parent
52ed06500a
commit
f799971280
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ class AsyncTCPReqChannel(salt.transport.client.ReqChannel):
|
|||
def __key(cls, opts, **kwargs):
|
||||
return (opts['pki_dir'], # where the keys are stored
|
||||
opts['id'], # minion ID
|
||||
kwargs.get('master_uri', opts.get('master_uri')), # master ID
|
||||
kwargs.get('master_uri') or opts.get('master_uri'), # master ID
|
||||
kwargs.get('crypt', 'aes'), # TODO: use the same channel for crypt
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue