Skip to content

Commit

Permalink
Fix import to renamed package
Browse files Browse the repository at this point in the history
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
  • Loading branch information
jpkrohling committed May 24, 2023
1 parent 1e3d16e commit 6934602
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exporter/otlphttpexporter/otlp.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"go.opentelemetry.io/collector/consumer/consumererror"
"go.opentelemetry.io/collector/exporter"
"go.opentelemetry.io/collector/exporter/exporterhelper"
"go.opentelemetry.io/collector/internal/errs"
"go.opentelemetry.io/collector/internal/colerrs"
"go.opentelemetry.io/collector/pdata/plog"
"go.opentelemetry.io/collector/pdata/plog/plogotlp"
"go.opentelemetry.io/collector/pdata/pmetric"
Expand Down Expand Up @@ -146,7 +146,7 @@ func (e *baseExporter) export(ctx context.Context, url string, request []byte) e
if respStatus != nil {
formattedErr = gstatus.ErrorProto(respStatus)
} else {
formattedErr = errs.NewRequestError(resp.StatusCode, fmt.Errorf("error exporting items to %q", url))
formattedErr = colerrs.NewRequestError(resp.StatusCode, fmt.Errorf("error exporting items to %q", url))
}

if isRetryableStatusCode(resp.StatusCode) {
Expand Down

0 comments on commit 6934602

Please sign in to comment.