Merge branch 'log_container_status_for_debug' into 'main'
[DBG] temporary add debug statement See merge request odoo-openupgrade-wizard/odoo-openupgrade-wizard!95
This commit is contained in:
commit
c5c7c24ee6
|
|
@ -131,6 +131,10 @@ def kill_container(container_name):
|
||||||
try:
|
try:
|
||||||
container.stop()
|
container.stop()
|
||||||
container.wait()
|
container.wait()
|
||||||
|
logger.debug(
|
||||||
|
"Container %s status is now '%s'."
|
||||||
|
% (container.name, container.status)
|
||||||
|
)
|
||||||
if container.status != "removed":
|
if container.status != "removed":
|
||||||
container.remove()
|
container.remove()
|
||||||
container.wait(condition="removed")
|
container.wait(condition="removed")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user