Fix cloud LXC container destruction

This commit is contained in:
cellscape 2015-05-13 20:56:05 +06:00
parent fd8a1b797f
commit 4f6021c884

View file

@ -377,7 +377,7 @@ def destroy(vm_, call=None):
transport=__opts__['transport']
)
cret = _salt('lxc.destroy', vm_, stop=True)
ret['result'] = cret['change']
ret['result'] = cret['result']
if ret['result']:
ret['comment'] = '{0} was destroyed'.format(vm_)
salt.utils.cloud.fire_event(