Merge "Allow start/restart container in Error state"
This commit is contained in:
commit
481029d180
@ -39,9 +39,9 @@ VALID_STATES = {
|
||||
'delete': [consts.CREATED, consts.ERROR, consts.STOPPED],
|
||||
'delete_force': [consts.CREATED, consts.CREATING, consts.ERROR,
|
||||
consts.RUNNING, consts.STOPPED, consts.UNKNOWN],
|
||||
'start': [consts.CREATED, consts.STOPPED],
|
||||
'start': [consts.CREATED, consts.STOPPED, consts.ERROR],
|
||||
'stop': [consts.RUNNING],
|
||||
'reboot': [consts.CREATED, consts.RUNNING, consts.STOPPED],
|
||||
'reboot': [consts.CREATED, consts.RUNNING, consts.STOPPED, consts.ERROR],
|
||||
'pause': [consts.RUNNING],
|
||||
'unpause': [consts.PAUSED],
|
||||
'kill': [consts.RUNNING],
|
||||
|
Loading…
x
Reference in New Issue
Block a user