Skip to content

Commit

Permalink
feat(restore): report the actual metadata after restoration
Browse files Browse the repository at this point in the history
  • Loading branch information
graelo committed Aug 20, 2022
1 parent ffdf55e commit 40ad1df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/actions/restore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ pub async fn restore<P: AsRef<Path>>(backup_filepath: P) -> Result<v1::Overview>
return Err(anyhow::anyhow!(message));
}

let metadata = v1::Metadata::new().await?;
Ok(metadata.overview())
}

Expand Down

0 comments on commit 40ad1df

Please sign in to comment.