Skip to content

Commit

Permalink
chore; do not repeat function name (#61)
Browse files Browse the repository at this point in the history
Co-authored-by: Luis Moreno <[email protected]>
  • Loading branch information
morenol and morenol authored Nov 22, 2024
1 parent 821fb2d commit d70fa90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dataflows/bank-processing/dataflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ services:
transforms:
- operator: filter-map
run: |
fn generate_overdraft_event(ev: DataEvent) -> Result<Option<OverdraftEvent>> {
fn generate_overdraft_event_due_withdrawal(ev: DataEvent) -> Result<Option<OverdraftEvent>> {
let withdrawal = match ev.operation {
DataOperation::CreditAccount(_) => return Ok(None),
Expand Down Expand Up @@ -406,7 +406,7 @@ services:
transforms:
- operator: filter-map
run: |
fn generate_overdraft_event(ev: DataEvent) -> Result<Option<OverdraftEvent>> {
fn generate_overdraft_event_due_transfer(ev: DataEvent) -> Result<Option<OverdraftEvent>> {
let withdrawal = match ev.operation {
DataOperation::CreditAccount(_) => return Ok(None),
Expand Down

0 comments on commit d70fa90

Please sign in to comment.