Skip to main content

clean_report

Function clean_report 

Source
pub fn clean_report(
    providers: Vec<ProviderInventory>,
) -> Result<Vec<ProviderInventory>, &'static str>
Expand description

Validate a node’s report (bounded, plain identifiers). A bad provider, model or effort entry is dropped on its own; the rest of the report is kept.