should be self, not salt

This commit is contained in:
David Boucha 2018-01-09 16:26:56 -07:00
parent a82e158f2d
commit 379b6cd23e
No known key found for this signature in database
GPG key ID: 6EB4B363C1E85114

View file

@ -1355,7 +1355,7 @@ class AESFuncs(object):
'data',
{'grains': load['grains'],
'pillar': data})
if salt.opts.get('minion_data_cache_events') is True:
if self.opts.get('minion_data_cache_events') is True:
self.event.fire_event({'Minion data cache refresh': load['id']}, tagify(load['id'], 'refresh', 'minion'))
return data