mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Use 'return' not 'ret'
This commit is contained in:
parent
64a4950994
commit
155e374584
@ -89,8 +89,8 @@ def _publish(tgt,
|
||||
if form == 'clean':
|
||||
cret = {}
|
||||
for host in rets:
|
||||
if 'ret' in rets[host]:
|
||||
cret[host] = rets[host]['ret']
|
||||
if 'return' in rets[host]:
|
||||
cret[host] = rets[host]['return']
|
||||
else:
|
||||
cret[host] = rets[host]
|
||||
return cret
|
||||
|
Loading…
Reference in New Issue
Block a user