mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix issues in the expresion manager
This commit is contained in:
parent
b95741eb14
commit
d490578767
2 changed files with 2 additions and 2 deletions
|
@ -229,7 +229,7 @@ class ReqServer(threading.Thread):
|
|||
'''
|
||||
if not clear_load.pop('key') == self.key:
|
||||
return ''
|
||||
jid = self._prep_jid(load)
|
||||
jid = self._prep_jid(clear_load)
|
||||
payload = {'enc': 'aes'}
|
||||
load = {
|
||||
'fun': clear_load['fun'],
|
||||
|
|
|
@ -135,7 +135,7 @@ class Minion(object):
|
|||
return ret
|
||||
# Verify that the publication applies to this minion
|
||||
if data.has_key('tgt_type'):
|
||||
if not getattr(self, '_' + data['tgt_type'] + '_match')(*(data['tgt'])):
|
||||
if not getattr(self, '_' + data['tgt_type'] + '_match')(data['tgt']):
|
||||
return ret
|
||||
else:
|
||||
if not self._glob_match(data['tgt']):
|
||||
|
|
Loading…
Add table
Reference in a new issue