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
|
data
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn dump_property_schema<I>(
|
pub fn dump_property_schema(param: &dyn ObjectSchemaType) -> Value {
|
||||||
param: &dyn ObjectSchemaType<PropertyIter = I>,
|
|
||||||
) -> Value
|
|
||||||
where I: Iterator<Item = &'static SchemaPropertyEntry>,
|
|
||||||
{
|
|
||||||
let mut properties = json!({});
|
let mut properties = json!({});
|
||||||
|
|
||||||
for (prop, optional, schema) in param.properties() {
|
for (prop, optional, schema) in param.properties() {
|
||||||
|
Loading…
Reference in New Issue
Block a user