Skip to content

Commit c454ad5

Browse files
authored
Fix typo in remote api err msg (#1878)
Signed-off-by: SungJin1212 <[email protected]>
1 parent 14becd6 commit c454ad5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exp/api/remote/remote_api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ func (r *API) Write(ctx context.Context, msgType WriteMessageType, msg any) (_ W
245245
// TODO(bwplotka): Allow users to disable this check or provide their stats for us to know if it's empty.
246246
return accumulatedStats, fmt.Errorf("sent v2 request; "+
247247
"got 2xx, but PRW 2.0 response header statistics indicate %v samples, %v histograms "+
248-
"and %v exemplars were accepted; assumining failure e.g. the target only supports "+
248+
"and %v exemplars were accepted; assuming failure e.g. the target only supports "+
249249
"PRW 1.0 prometheus.WriteRequest, but does not check the Content-Type header correctly",
250250
accumulatedStats.Samples, accumulatedStats.Histograms, accumulatedStats.Exemplars,
251251
)

0 commit comments

Comments
 (0)