mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
parent
3b9ccf09d7
commit
c9075b8f84
1 changed files with 1 additions and 1 deletions
|
@ -766,7 +766,7 @@ class State(object):
|
|||
agg_opt = low['aggregate']
|
||||
if agg_opt is True:
|
||||
agg_opt = [low['state']]
|
||||
else:
|
||||
elif not isinstance(agg_opt, list):
|
||||
return low
|
||||
if low['state'] in agg_opt and not low.get('__agg__'):
|
||||
agg_fun = '{0}.mod_aggregate'.format(low['state'])
|
||||
|
|
Loading…
Add table
Reference in a new issue