pub async fn process_delete_managed_spu_group(
    opt: DeleteManagedSpuGroupOpt,
) -> Result<(), CliError> {
    let (target_server, delete_spu_group_cfg) = opt.validate()?;

    let mut sc = target_server.connect().await?;

    sc.delete_group(&delete_spu_group_cfg.name)
        .await
        .map_err(|err| err.into())
}
/// Process delete custom-spu cli request
Process delete custom-spu cli request
Process delete custom - spu cli request
pub async fn process_delete_managed_spu_group(
    opt: DeleteManagedSpuGroupOpt,
) -> Result<(), CliError> {
    let (target_server, delete_spu_group_cfg) = opt.validate()?;
    let mut sc = target_server.connect().await?;
    sc.delete_group(&delete_spu_group_cfg.name)
        .await
        .map_err(|err| err.into())
}
pub async fn process_delete_managed_spu_group ( opt : DeleteManagedSpuGroupOpt , ) -> Result < ( ) , CliError > { let ( target_server , delete_spu_group_cfg ) = opt . validate ( ) ? ; let mut sc = target_server . connect ( ) . await ? ; sc . delete_group ( & delete_spu_group_cfg . name ) . await . map_err ( | err | err . into ( ) ) }
Process delete custom-spu cli request
Process delete custom - spu cli request
opt
DeleteManagedSpuGroupOpt
opt
DeleteManagedSpuGroupOpt