update to schema changes in proxmox
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
0dadf66dc7
commit
3554fe6480
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user