From: Fabian Grünbichler Date: Tue, 20 Oct 2020 07:07:32 +0000 (+0200) Subject: unbreak build X-Git-Tag: v0.9.2~85 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=115d927c15f8c70442de7cc3a43e99587b499c26;p=proxmox-backup.git unbreak build and silence warning. Signed-off-by: Fabian Grünbichler --- diff --git a/src/backup/datastore.rs b/src/backup/datastore.rs index a856e2f4..d8e7a794 100644 --- a/src/backup/datastore.rs +++ b/src/backup/datastore.rs @@ -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 { + fn open_with_path(store_name: &str, path: &Path, _config: DataStoreConfig) -> Result { let chunk_store = ChunkStore::open(store_name, path)?; let gc_status = GarbageCollectionStatus::default();