From a7e4e5b8b524cb7619621c91220712c395ce1725 Mon Sep 17 00:00:00 2001 From: SungJin1212 Date: Thu, 25 Sep 2025 21:16:26 +0900 Subject: [PATCH] Fix typo in remote api err msg Signed-off-by: SungJin1212 --- exp/api/remote/remote_api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exp/api/remote/remote_api.go b/exp/api/remote/remote_api.go index afacd4110..433855cd2 100644 --- a/exp/api/remote/remote_api.go +++ b/exp/api/remote/remote_api.go @@ -245,7 +245,7 @@ func (r *API) Write(ctx context.Context, msgType WriteMessageType, msg any) (_ W // TODO(bwplotka): Allow users to disable this check or provide their stats for us to know if it's empty. return accumulatedStats, fmt.Errorf("sent v2 request; "+ "got 2xx, but PRW 2.0 response header statistics indicate %v samples, %v histograms "+ - "and %v exemplars were accepted; assumining failure e.g. the target only supports "+ + "and %v exemplars were accepted; assuming failure e.g. the target only supports "+ "PRW 1.0 prometheus.WriteRequest, but does not check the Content-Type header correctly", accumulatedStats.Samples, accumulatedStats.Histograms, accumulatedStats.Exemplars, )