backup/datastore: fn open is a private implementation detail
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
1 parent
9739aca41f
commit
3dacd9a660
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user