rename INDEX_BLOB_NAME to MANIFEST_BLOB_NAME
This commit is contained in:
1 parent
296c50ba3d
commit
ad6e5a6f51
3 files changed
+3
-3
No files matched your search
@@ -123,7 +123,7 @@ impl BackupReader {
|
||||
/// Download backup manifest (index.json)
|
||||
pub async fn download_manifest(&self) -> Result<Value, Error> {
|
||||
|
||||
let raw_data = self.download(INDEX_BLOB_NAME, Vec::with_capacity(64*1024)).await?;
|
||||
let raw_data = self.download(MANIFEST_BLOB_NAME, Vec::with_capacity(64*1024)).await?;
|
||||
let blob = DataBlob::from_raw(raw_data)?;
|
||||
blob.verify_crc()?;
|
||||
let data = blob.decode(self.crypt_config.as_ref().map(Arc::as_ref))?;
|
||||
|
||||
Reference in new issue
Block a user