Merge "Fix the logic to set container state to Error"
This commit is contained in:
commit
a60bbf13c5
@ -165,7 +165,7 @@ class DockerDriver(driver.ContainerDriver):
|
||||
status = response.get('State')
|
||||
if status:
|
||||
status_detail = ''
|
||||
if status.get('Error') is True:
|
||||
if status.get('Error'):
|
||||
container.status = consts.ERROR
|
||||
status_detail = self.format_status_detail(
|
||||
status.get('FinishedAt'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user