Skip to content

Commit d490578

Browse files
committed
fix issues in the expresion manager
1 parent b95741e commit d490578

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

salt/master.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def publish(self, clear_load):
229229
'''
230230
if not clear_load.pop('key') == self.key:
231231
return ''
232-
jid = self._prep_jid(load)
232+
jid = self._prep_jid(clear_load)
233233
payload = {'enc': 'aes'}
234234
load = {
235235
'fun': clear_load['fun'],

salt/minion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def _handle_aes(self, load):
135135
return ret
136136
# Verify that the publication applies to this minion
137137
if data.has_key('tgt_type'):
138-
if not getattr(self, '_' + data['tgt_type'] + '_match')(*(data['tgt'])):
138+
if not getattr(self, '_' + data['tgt_type'] + '_match')(data['tgt']):
139139
return ret
140140
else:
141141
if not self._glob_match(data['tgt']):

0 commit comments

Comments
 (0)