()
| 660 | } |
| 661 | |
| 662 | func (e ReplicasNotMatchError) Error() string { |
| 663 | return fmt.Sprintf("replicas did not match, rejecting sample: replica=%s, elected=%s", e.replica, e.elected) |
| 664 | } |
| 665 | |
| 666 | // Needed for errors.Is to work properly. |
| 667 | func (e ReplicasNotMatchError) Is(err error) bool { |
no outgoing calls