Allow force delete a 'DELETING' container
Change-Id: I6d041fef679caf5ac2546ca1a8fdbf31e5322dec
This commit is contained in:
parent
6e307cc274
commit
4cc1098c13
@ -56,7 +56,7 @@ VALID_STATES = {
|
|||||||
'delete_force': [consts.CREATED, consts.CREATING, consts.ERROR,
|
'delete_force': [consts.CREATED, consts.CREATING, consts.ERROR,
|
||||||
consts.RUNNING, consts.STOPPED, consts.UNKNOWN,
|
consts.RUNNING, consts.STOPPED, consts.UNKNOWN,
|
||||||
consts.DELETED, consts.DEAD, consts.RESTARTING,
|
consts.DELETED, consts.DEAD, consts.RESTARTING,
|
||||||
consts.REBUILDING],
|
consts.REBUILDING, consts.DELETING],
|
||||||
'delete_after_stop': [consts.RUNNING, consts.CREATED, consts.ERROR,
|
'delete_after_stop': [consts.RUNNING, consts.CREATED, consts.ERROR,
|
||||||
consts.STOPPED, consts.DELETED, consts.DEAD],
|
consts.STOPPED, consts.DELETED, consts.DEAD],
|
||||||
'start': [consts.CREATED, consts.STOPPED, consts.ERROR],
|
'start': [consts.CREATED, consts.STOPPED, consts.ERROR],
|
||||||
|
Loading…
Reference in New Issue
Block a user