Skip to content

Commit

Permalink
lint again
Browse files Browse the repository at this point in the history
  • Loading branch information
just-in-chang committed Jul 18, 2024
1 parent 7cc1b07 commit b4078ba
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ecosystem/nft-metadata-crawler-parser/src/asset_uploader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ impl AssetUploaderContext {
}

// Use exponential backoff to try again
return Err(backoff::Error::transient(anyhow::anyhow!(
Err(backoff::Error::transient(anyhow::anyhow!(
"Failed to upload asset to Cloudflare"
)));
)))
}
.boxed()
};
Expand All @@ -199,7 +199,6 @@ impl AssetUploaderContext {
let self_clone = self_clone.clone();
let asset_uri = url.to_string();
tasks.push(tokio::spawn(async move {

match self_clone.upload_asset(url.clone()).await {
Ok(cdn_url) => {
info!(
Expand Down

0 comments on commit b4078ba

Please sign in to comment.