Skip to main content

resize_profile

Function resize_profile 

Source
pub fn resize_profile(
    text: &str,
    profile: &str,
    resize: Resize,
) -> Result<String, ResizeError>
Expand description

text with the profile’s memory and slots replaced, and its cpus when resize has them, everything else as written, comments included: what applying a sizing suggestion sends to PUT /v1/config, which validates it.