update to schema changes in proxmox

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2021-02-24 14:50:08 +01:00
parent 0dadf66dc7
commit 3554fe6480

View File

@ -218,11 +218,7 @@ pub fn dump_schema(schema: &Schema) -> Value {
data
}
pub fn dump_property_schema<I>(
param: &dyn ObjectSchemaType<PropertyIter = I>,
) -> Value
where I: Iterator<Item = &'static SchemaPropertyEntry>,
{
pub fn dump_property_schema(param: &dyn ObjectSchemaType) -> Value {
let mut properties = json!({});
for (prop, optional, schema) in param.properties() {