maple.utils.health.HealthMonitor.check_now

HealthMonitor.check_now(container_id: str) HealthStatus | None

Manually trigger an immediate health check for a container.

Performs a health check outside the normal monitoring interval. Useful for on-demand status verification or testing. Updates the container’s status based on the check result.

Parameters:

container_id – Docker container ID to check.

Returns:

Updated HealthStatus after the check, or None if container is not registered.