Skip to content

Commit a434761

Browse files
auricomclaude
andcommitted
fix(raft): fix gci alignment in syncResult const block
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f61de99 commit a434761

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

pkg/raft/election.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,10 +300,10 @@ func (d *DynamicLeaderElection) IsRunning() bool {
300300
type syncResult int
301301

302302
const (
303-
syncResultSynced syncResult = iota // block store is within 1 block of raft FSM
304-
syncResultTimeout // deadline elapsed and store still lagging
305-
syncResultLostLeadership // lost leadership while waiting
306-
syncResultCanceled // context was canceled
303+
syncResultSynced syncResult = iota // block store is within 1 block of raft FSM
304+
syncResultTimeout // deadline elapsed and store still lagging
305+
syncResultLostLeadership // lost leadership while waiting
306+
syncResultCanceled // context was canceled
307307
)
308308

309309
// waitForBlockStoreSync polls IsSynced until the block store is within 1 block

0 commit comments

Comments
 (0)