Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
odacremolbap committed Jul 24, 2023
1 parent 4240bc9 commit 691ad6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/backend/impl/kafka/kafka.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,16 +293,16 @@ func boundsResolver(bounds *broker.TriggerBounds) (startOp kgo.Offset, eb *endBo
return
}

startOp.AfterMilli(st.UnixMilli())
startOp = startOp.AfterMilli(st.UnixMilli())
} else if start := bounds.ByID.GetStart(); start != "" {
i, err := strconv.ParseInt(start, 10, 64)
if err != nil {
e = fmt.Errorf("parsing bounds start id: %w", err)
return
}
startOp.At(i)
startOp = startOp.At(i)
} else {
startOp.AfterMilli(time.Now().UnixMilli())
startOp = startOp.AfterMilli(time.Now().UnixMilli())
}

endd, endid := bounds.ByDate.GetEnd(), bounds.ByID.GetEnd()
Expand Down

0 comments on commit 691ad6e

Please sign in to comment.