From daad8eea893b3d661779dcb96a5226afd0efc870 Mon Sep 17 00:00:00 2001
From: Hongbin Lu <hongbin034@gmail.com>
Date: Sat, 8 Jun 2019 20:41:32 +0000
Subject: [PATCH] Allow force delete a 'DELETING' container

Depends-On: https://review.opendev.org/#/c/664142/
Change-Id: Ibe355771e6127dfb0ac9116a6b7dd38d94abf0e4
---
 .../static/dashboard/container/containers/containers.module.js  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zun_ui/static/dashboard/container/containers/containers.module.js b/zun_ui/static/dashboard/container/containers/containers.module.js
index 668ec94..19c821b 100644
--- a/zun_ui/static/dashboard/container/containers/containers.module.js
+++ b/zun_ui/static/dashboard/container/containers/containers.module.js
@@ -74,7 +74,7 @@
       delete_force: [
         states.CREATED, states.CREATING, states.ERROR, states.RUNNING,
         states.STOPPED, states.UNKNOWN, states.DELETED, states.DEAD,
-        states.RESTARTING, states.REBUILDING
+        states.RESTARTING, states.REBUILDING, states.DELETING
       ],
       delete_stop: [
         states.RUNNING, states.CREATED, states.ERROR, states.STOPPED,