Skip to content

Commit

Permalink
fix(saga): Fix off-by-one error in sagaflow seeker (#4039)
Browse files Browse the repository at this point in the history
  • Loading branch information
robzienert committed Sep 18, 2019
1 parent 3701989 commit f37ec7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ internal class SagaCommandEventSeeker : Seeker {
return null
}

return (steps.indexOf(step) + 1).also {
return (steps.indexOf(step)).also {
log.debug("Suggesting to seek index to $it")
}
}
Expand Down

0 comments on commit f37ec7e

Please sign in to comment.