Merge "nova_virtlogd_wrapper: trap "created" containers"

This commit is contained in:
Zuul 2021-07-24 02:53:23 +00:00 committed by Gerrit Code Review
commit 2931b86aa2
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ case ${CONTAINER_STATUS_SHORT} in
Up | up | UP)
echo "Container ${NAME} with id ${CONTAINER_ID} is already running!"
;;
Exited| exited| EXITED)
Exited| exited| EXITED| Created| created| CREATED)
echo "Removing orphaned ${NAME} container ${CONTAINER_ID}"
$CLI stop ${CONTAINER_ID} || true
$CLI rm -f ${CONTAINER_ID} || true