mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Fix ref name for returners
This commit is contained in:
parent
8889b363a9
commit
604b986be2
@ -135,9 +135,9 @@ class Minion(object):
|
||||
module.__opts__ = self.opts
|
||||
except:
|
||||
continue
|
||||
if hasattr(module, 'returners'):
|
||||
if callable(module.returners):
|
||||
returners[mod] = module.returners
|
||||
if hasattr(module, 'returner'):
|
||||
if callable(module.returner):
|
||||
returners[mod] = module.returner
|
||||
self.opts['logger'].info('Loaded the following returners: '\
|
||||
+ str(returners))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user