mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
change returners to be a gen_functions loader
This commit is contained in:
parent
c4a1a440e3
commit
8d87a200ff
@ -90,7 +90,7 @@ def returners(opts, functions):
|
||||
load = _create_loader(opts, 'returners', 'returner')
|
||||
pack = {'name': '__salt__',
|
||||
'value': functions}
|
||||
return load.filter_func('returner', pack)
|
||||
return load.gen_functions(pack)
|
||||
|
||||
|
||||
def pillars(opts, functions):
|
||||
|
Loading…
Reference in New Issue
Block a user