diff --git a/src/config/datastore.rs b/src/config/datastore.rs index 3171d52d..4ce4eaa2 100644 --- a/src/config/datastore.rs +++ b/src/config/datastore.rs @@ -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); diff --git a/src/config/remote.rs b/src/config/remote.rs index 62c45ad3..65fd162a 100644 --- a/src/config/remote.rs +++ b/src/config/remote.rs @@ -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); diff --git a/src/config/user.rs b/src/config/user.rs index eab0664a..d899c405 100644 --- a/src/config/user.rs +++ b/src/config/user.rs @@ -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); diff --git a/src/tools/systemd/config.rs b/src/tools/systemd/config.rs index cc5ad697..3f2c0e14 100644 --- a/src/tools/systemd/config.rs +++ b/src/tools/systemd/config.rs @@ -26,21 +26,21 @@ fn init_service() -> SectionConfig { match SystemdUnitSection::API_SCHEMA { Schema::Object(ref obj_schema) => { - let plugin = SectionConfigPlugin::new("Unit".to_string(), obj_schema); + let plugin = SectionConfigPlugin::new("Unit".to_string(), None, obj_schema); config.register_plugin(plugin); } _ => unreachable!(), }; match SystemdInstallSection::API_SCHEMA { Schema::Object(ref obj_schema) => { - let plugin = SectionConfigPlugin::new("Install".to_string(), obj_schema); + let plugin = SectionConfigPlugin::new("Install".to_string(), None, obj_schema); config.register_plugin(plugin); } _ => unreachable!(), }; match SystemdServiceSection::API_SCHEMA { Schema::Object(ref obj_schema) => { - let plugin = SectionConfigPlugin::new("Service".to_string(), obj_schema); + let plugin = SectionConfigPlugin::new("Service".to_string(), None, obj_schema); config.register_plugin(plugin); } _ => unreachable!(), @@ -55,21 +55,21 @@ fn init_timer() -> SectionConfig { match SystemdUnitSection::API_SCHEMA { Schema::Object(ref obj_schema) => { - let plugin = SectionConfigPlugin::new("Unit".to_string(), obj_schema); + let plugin = SectionConfigPlugin::new("Unit".to_string(), None, obj_schema); config.register_plugin(plugin); } _ => unreachable!(), }; match SystemdInstallSection::API_SCHEMA { Schema::Object(ref obj_schema) => { - let plugin = SectionConfigPlugin::new("Install".to_string(), obj_schema); + let plugin = SectionConfigPlugin::new("Install".to_string(), None, obj_schema); config.register_plugin(plugin); } _ => unreachable!(), }; match SystemdTimerSection::API_SCHEMA { Schema::Object(ref obj_schema) => { - let plugin = SectionConfigPlugin::new("Timer".to_string(), obj_schema); + let plugin = SectionConfigPlugin::new("Timer".to_string(), None, obj_schema); config.register_plugin(plugin); } _ => unreachable!(),