mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix match issue in the matcher class
This commit is contained in:
parent
b3e7fb1886
commit
51553b4fca
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ class Matcher(object):
|
|||
if item.has_key('match'):
|
||||
matcher = item['match']
|
||||
if hasattr(self, matcher + '_match'):
|
||||
return getattr(self, matcher)
|
||||
return getattr(self, matcher + '_match')
|
||||
else:
|
||||
log.error('Attempting to match with unknown matcher: %s', matcher)
|
||||
return False
|
||||
|
|
Loading…
Add table
Reference in a new issue