Skip to content

Commit

Permalink
add extension to downloaded snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
ghubertpalo committed Jul 11, 2023
1 parent a8febdd commit e3b1607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mithril-client/src/aggregator_client/snapshot_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ impl SnapshotClient {
) -> StdResult<PathBuf> {
let filepath = PathBuf::new()
.join(download_dir)
.join(format!("snapshot-{}", snapshot.digest));
.join(format!("snapshot-{}.tar.gz", snapshot.digest));

for url in snapshot.locations.as_slice() {
if self.http_client.probe(url).await.is_ok() {
Expand Down

0 comments on commit e3b1607

Please sign in to comment.