Skip to content

Commit

Permalink
fix debug stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically committed Apr 5, 2023
1 parent 79ceb56 commit f66fc06
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion daedalus_client/src/fabric.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ pub async fn retrieve_data(
)
.await?;

//println!("{}", loader);
Ok::<Option<(Box<bool>, String, PartialVersionInfo)>, Error>(
Some((stable, loader, version)),
)
Expand Down
2 changes: 0 additions & 2 deletions daedalus_client/src/forge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -514,8 +514,6 @@ pub async fn retrieve_data(
}
}

println!("{:?}", versions);

upload_file_to_bucket(
format!(
"forge/v{}/manifest.json",
Expand Down
12 changes: 7 additions & 5 deletions daedalus_client/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,17 @@ async fn main() {
Ok(..) => {}
Err(err) => error!("{:?}", err),
};
match forge::retrieve_data(&manifest, &mut uploaded_files, semaphore.clone()).await {
match forge::retrieve_data(
&manifest,
&mut uploaded_files,
semaphore.clone(),
)
.await
{
Ok(..) => {}
Err(err) => error!("{:?}", err),
};
}
break;
}
}

Expand Down Expand Up @@ -202,10 +207,7 @@ pub async fn download_file(
semaphore: Arc<Semaphore>,
) -> Result<bytes::Bytes, Error> {
let _permit = semaphore.acquire().await?;
println!("{} url start", url);

let val = daedalus::download_file(url, sha1).await?;
println!("{} url end", url);
Ok(val)
}

Expand Down

0 comments on commit f66fc06

Please sign in to comment.