pub async fn collect_from_nodes( client: Client, resources: &mut Vec<Resource>, selector: &Option<String>, ) -> Result<(), Error>