backup/datastore: fn open is a private implementation detail
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
9739aca41f
commit
3dacd9a660
|
@ -67,7 +67,7 @@ impl DataStore {
|
||||||
bail!("store not found");
|
bail!("store not found");
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn open(store_name: &str) -> Result<Self, Error> {
|
fn open(store_name: &str) -> Result<Self, Error> {
|
||||||
|
|
||||||
let config = datastore::config()?;
|
let config = datastore::config()?;
|
||||||
let (_, store_config) = config.sections.get(store_name)
|
let (_, store_config) = config.sections.get(store_name)
|
||||||
|
|
Loading…
Reference in New Issue