Skip to content

Commit

Permalink
chore: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
samcm committed Oct 14, 2024
1 parent 714391d commit 80daa8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/cannon/iterator/backfilling_checkpoint_iterator.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ func (c *BackfillingCheckpoint) Next(ctx context.Context) (rsp *BackFillingCheck
}

// If the backfill hasn't completed, we can return the next backfill epoch to process.
//nolint:gosec // marker.BackfillEpoch is an int64
if c.shouldBackfill(ctx) && phase0.Epoch(marker.BackfillEpoch) > backfillTargetEpoch {
next := phase0.Epoch(marker.BackfillEpoch - 1)

Expand Down

0 comments on commit 80daa8f

Please sign in to comment.