adapt to changes of SectionConfigPlugin
it requires not an Option<String> for the optional id_property Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
1 parent
07ce44a633
commit
16c75c580b
4 files changed
+9
-9
No files matched your search
@@ -50,7 +50,7 @@ fn init() -> SectionConfig {
|
||||
_ => unreachable!(),
|
||||
};
|
||||
|
||||
let plugin = SectionConfigPlugin::new("datastore".to_string(), obj_schema);
|
||||
let plugin = SectionConfigPlugin::new("datastore".to_string(), None, obj_schema);
|
||||
let mut config = SectionConfig::new(&DATASTORE_SCHEMA);
|
||||
config.register_plugin(plugin);
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@ fn init() -> SectionConfig {
|
||||
_ => unreachable!(),
|
||||
};
|
||||
|
||||
let plugin = SectionConfigPlugin::new("remote".to_string(), obj_schema);
|
||||
let plugin = SectionConfigPlugin::new("remote".to_string(), None, obj_schema);
|
||||
let mut config = SectionConfig::new(&REMOTE_ID_SCHEMA);
|
||||
config.register_plugin(plugin);
|
||||
|
||||
|
||||
+1
-1
@@ -105,7 +105,7 @@ fn init() -> SectionConfig {
|
||||
_ => unreachable!(),
|
||||
};
|
||||
|
||||
let plugin = SectionConfigPlugin::new("user".to_string(), obj_schema);
|
||||
let plugin = SectionConfigPlugin::new("user".to_string(), None, obj_schema);
|
||||
let mut config = SectionConfig::new(&PROXMOX_USER_ID_SCHEMA);
|
||||
|
||||
config.register_plugin(plugin);
|
||||
|
||||
Reference in new issue
Block a user