Skip to content

Commit

Permalink
handler.go: error message spell correction (#1387)
Browse files Browse the repository at this point in the history
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
  • Loading branch information
Guangming Wang authored and povilasv committed Aug 13, 2019
1 parent b3fc62c commit e1823fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/receive/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ func (h *Handler) replicate(ctx context.Context, tenant string, wreq *prompb.Wri
err := h.parallelizeRequests(ctx, tenant, replicas, wreqs)
if errs, ok := err.(terrors.MultiError); ok {
if uint64(len(errs)) >= (h.options.ReplicationFactor+1)/2 {
return errors.New("did not meet replication threshhold")
return errors.New("did not meet replication threshold")
}
}
return errors.Wrap(err, "could not replicate write request")
Expand Down

0 comments on commit e1823fe

Please sign in to comment.