Merge "Delete sandbox on capsule delete"
This commit is contained in:
commit
c1faf09c6e
@ -1158,6 +1158,7 @@ class Manager(periodic_task.PeriodicTasks):
|
||||
container = \
|
||||
objects.Container.get_by_uuid(context,
|
||||
capsule.containers_uuids[0])
|
||||
self._delete_sandbox(context, container, reraise=False)
|
||||
self.container_delete(context, container, force=True)
|
||||
except Exception as e:
|
||||
LOG.exception(e)
|
||||
|
Loading…
Reference in New Issue
Block a user