rename INDEX_BLOB_NAME to MANIFEST_BLOB_NAME

This commit is contained in:
Dietmar Maurer
2019-10-12 15:53:27 +02:00
parent 296c50ba3d
commit ad6e5a6f51
3 changed files with 3 additions and 3 deletions

View File

@ -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))?;