MCPcopy Create free account
hub / github.com/cortexproject/cortex / Error

Method Error

pkg/ha/ha_tracker.go:662–664  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

660}
661
662func (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.
667func (e ReplicasNotMatchError) Is(err error) bool {

Callers 6

syncKVStoreToLocalMapMethod · 0.45
cleanupOldReplicasMethod · 0.45
CheckReplicaMethod · 0.45

Calls

no outgoing calls