Skip to content

Commit 5140eed

Browse files
authored
fix ReplicasNotMatchError typo (#7133)
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
1 parent 361f5a7 commit 5140eed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/ha/ha_tracker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ type ReplicasNotMatchError struct {
486486
}
487487

488488
func (e ReplicasNotMatchError) Error() string {
489-
return fmt.Sprintf("replicas did not mach, rejecting sample: replica=%s, elected=%s", e.replica, e.elected)
489+
return fmt.Sprintf("replicas did not match, rejecting sample: replica=%s, elected=%s", e.replica, e.elected)
490490
}
491491

492492
// Needed for errors.Is to work properly.

0 commit comments

Comments
 (0)