Skip to main content

build_resume_plan_with_limits

Function build_resume_plan_with_limits 

Source
pub fn build_resume_plan_with_limits(
    record: &ExecutionRecord,
    new_command: Option<&str>,
    probe: &SessionProbe,
    live_resource_limits: Option<Vec<String>>,
) -> Result<ResumePlan, String>
Expand description

build_resume_plan with the resource limits read from the stopped container with docker inspect; falls back to the stored ones when None.