Allow force delete a 'DELETING' container

Change-Id: I6d041fef679caf5ac2546ca1a8fdbf31e5322dec
This commit is contained in:
Hongbin Lu 2019-06-08 20:25:45 +00:00
parent 6e307cc274
commit 4cc1098c13
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ VALID_STATES = {
'delete_force': [consts.CREATED, consts.CREATING, consts.ERROR,
consts.RUNNING, consts.STOPPED, consts.UNKNOWN,
consts.DELETED, consts.DEAD, consts.RESTARTING,
consts.REBUILDING],
consts.REBUILDING, consts.DELETING],
'delete_after_stop': [consts.RUNNING, consts.CREATED, consts.ERROR,
consts.STOPPED, consts.DELETED, consts.DEAD],
'start': [consts.CREATED, consts.STOPPED, consts.ERROR],