This commit is contained in:
@@ -31,11 +31,12 @@ function wait_for_container {
|
||||
fi
|
||||
else
|
||||
echo "${container_name}: container_state=${container_state}"
|
||||
health_status="${container_state}"
|
||||
waiting_done="true"
|
||||
fi
|
||||
sleep 1;
|
||||
done;
|
||||
[ "${health_status}" == "healthy" ] || die "Container ${container_name} is not healthy"
|
||||
[ "${health_status}" == "healthy" ] || die "Container ${container_name} is not healthy: ${health_status}"
|
||||
}
|
||||
|
||||
#------------------------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user