Skip to content

Commit

Permalink
refactor: renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
taco-paco committed Sep 26, 2024
1 parent 676dc3d commit 4975ee1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/worker/src/processor/compile_processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ impl CompileProcessor {

let compilation_input = self
.input_preparator
.prepare_compile_input(&message)
.prepare_input(&message)
.await
.map_err(|err| {
let receipt_handle_copy = receipt_handle.clone();
Expand Down
4 changes: 2 additions & 2 deletions crates/worker/src/processor/input_preparator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ impl CompileInputPreparator {
Self { s3_client }
}

pub(crate) async fn prepare_compile_input(
pub(crate) async fn prepare_input(
&self,
request: &CompilationRequest,
) -> anyhow::Result<CompilationInput> {
Expand Down Expand Up @@ -43,7 +43,7 @@ impl VerifyInputPreparator {
Self { s3_client }
}

pub(crate) async fn prepare_compile_input(
pub(crate) async fn prepare_input(
&self,
request: &VerificationRequest,
) -> anyhow::Result<VerificationInput> {
Expand Down
2 changes: 1 addition & 1 deletion crates/worker/src/processor/verify_processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ impl VerifyProcessor {

let input = self
.input_preparator
.prepare_compile_input(&message)
.prepare_input(&message)
.await
.map_err(|err| {
let receipt_handle_copy = receipt_handle.clone();
Expand Down

0 comments on commit 4975ee1

Please sign in to comment.