mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Safer approach
This commit is contained in:
parent
341c34ed6c
commit
625d03da4f
@ -82,7 +82,8 @@ class AsyncTCPReqChannel(salt.transport.client.ReqChannel):
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def __key(cls, opts, **kwargs):
|
def __key(cls, opts, **kwargs):
|
||||||
opts.update(kwargs)
|
if 'master_uri' in kwargs:
|
||||||
|
opts['master_uri'] = kwargs['master_uri']
|
||||||
return (opts['pki_dir'], # where the keys are stored
|
return (opts['pki_dir'], # where the keys are stored
|
||||||
opts['id'], # minion ID
|
opts['id'], # minion ID
|
||||||
opts['master_uri'], # master ID
|
opts['master_uri'], # master ID
|
||||||
|
Loading…
Reference in New Issue
Block a user