backup/datastore: fn open is a private implementation detail

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2019-02-14 11:17:06 +01:00
parent 9739aca41f
commit 3dacd9a660
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ impl DataStore {
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 (_, store_config) = config.sections.get(store_name)