Skip to content

Commit

Permalink
fix issues in the expresion manager
Browse files Browse the repository at this point in the history
  • Loading branch information
thatch45 committed Mar 17, 2011
1 parent b95741e commit d490578
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion salt/master.py
Expand Up @@ -229,7 +229,7 @@ def publish(self, clear_load):
'''
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'],
Expand Down
2 changes: 1 addition & 1 deletion salt/minion.py
Expand Up @@ -135,7 +135,7 @@ def _handle_aes(self, load):
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']):
Expand Down

0 comments on commit d490578

Please sign in to comment.