Skip to main content

strategy_from_option_value

Function strategy_from_option_value 

Source
pub(crate) fn strategy_from_option_value(
    value: &ClusterAutoScalingStrategyOptionValue,
) -> Result<Option<AutoScalingStrategy>, String>
Expand description

Convert the AST option value into a structured policy. An empty block AUTO SCALING STRATEGY = () maps to None (autoscaling disabled), the same normalization the server planner applies.