repair salt cloud lxc api on develop

Signed-off-by: Mathieu Le Marec - Pasquet <kiorky@cryptelium.net>
This commit is contained in:
Mathieu Le Marec - Pasquet 2015-05-17 00:53:05 +02:00
parent 80eabe2703
commit 63e63fa527

View file

@ -225,6 +225,10 @@ def _salt(fun, *args, **kw):
if target in cret:
ret = cret[target]
break
# recent changes
elif 'data' in cret and 'outputter' in cret:
ret = cret['data']
break
# special case, some answers may be crafted
# to handle the unresponsivness of a specific command
# which is also meaningful, e.g. a minion not yet provisioned