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:
Dominik Csapak
2020-05-18 14:18:35 +02:00
committed by Dietmar Maurer
parent 07ce44a633
commit 16c75c580b
4 changed files with 9 additions and 9 deletions

View File

@ -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);