src/config: use statement cleanup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2019-08-21 14:09:27 +02:00
parent 2ec979e4ed
commit 928650c4eb

View File

@ -1,18 +1,14 @@
use failure::*;
//use std::fs::{OpenOptions};
use std::io::Read;
use std::collections::HashMap;
use std::io::Read;
//use std::sync::Arc;
use proxmox::tools::{try_block, fs::file_set_contents};
use crate::api_schema::*;
use crate::section_config::*;
use failure::*;
use lazy_static::lazy_static;
use proxmox::tools::{fs::file_set_contents, try_block};
use crate::api_schema::{ObjectSchema, StringSchema};
use crate::section_config::{SectionConfig, SectionConfigData, SectionConfigPlugin};
lazy_static!{
static ref CONFIG: SectionConfig = init();
}