]> git.proxmox.com Git - proxmox-backup.git/commitdiff
unbreak build
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 20 Oct 2020 07:07:32 +0000 (09:07 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 20 Oct 2020 07:07:32 +0000 (09:07 +0200)
and silence warning.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/backup/datastore.rs

index a856e2f41c4104cdec27803e541b13e85b79084c..d8e7a794b1eb1a9af512e0828adc6b7d918ef51d 100644 (file)
@@ -18,7 +18,7 @@ use super::fixed_index::{FixedIndexReader, FixedIndexWriter};
 use super::manifest::{MANIFEST_BLOB_NAME, MANIFEST_LOCK_NAME, CLIENT_LOG_BLOB_NAME, BackupManifest};
 use super::index::*;
 use super::{DataBlob, ArchiveType, archive_type};
-use crate::config::datastore;
+use crate::config::datastore::{self, DataStoreConfig};
 use crate::task::TaskState;
 use crate::tools;
 use crate::tools::format::HumanByte;
@@ -65,7 +65,7 @@ impl DataStore {
         Ok(datastore)
     }
 
-    fn open_with_path(store_name: &str, path: &Path, config: DataStoreConfig) -> Result<Self, Error> {
+    fn open_with_path(store_name: &str, path: &Path, _config: DataStoreConfig) -> Result<Self, Error> {
         let chunk_store = ChunkStore::open(store_name, path)?;
 
         let gc_status = GarbageCollectionStatus::default();