Skip to main content

rewrite_interval_option_floor_1s

Function rewrite_interval_option_floor_1s 

Source
fn rewrite_interval_option_floor_1s(
    value: &mut WithOptionValue<Raw>,
    label: &str,
) -> Result<(), Error>
Expand description

Rewrites an interval option value to '1s' if it is below 1 second.