Skip to content

Commit

Permalink
fix: remove unneeded signal argument on cleanup function
Browse files Browse the repository at this point in the history
  • Loading branch information
HoKim98 committed Jun 20, 2024
1 parent a18c10d commit 051f693
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ impl ObjectStorageSession {
pb.finish();
}
task_handler.await?;
break cleanup(bucket, signal).await;
break cleanup(bucket).await;
}

sleep(Duration::from_millis(50)).await;
Expand Down Expand Up @@ -286,7 +286,7 @@ impl SessionTask {
}
}

async fn cleanup(bucket: Bucket, signal: FunctionSignal) -> Result<()> {
async fn cleanup(bucket: Bucket) -> Result<()> {
info!("Cleaning up...");

let delimeter = "/".into();
Expand Down

0 comments on commit 051f693

Please sign in to comment.