mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix cloud LXC container destruction
This commit is contained in:
parent
fd8a1b797f
commit
4f6021c884
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue