Change logic

This commit is contained in:
Mike Place 2015-11-12 09:17:42 -07:00
parent 52ed06500a
commit f799971280

View file

@ -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
)