Skip to content

Commit 87af73d

Browse files
authored
Remove deprecated componenterror.CombineErrors (#2598)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
1 parent 03802c2 commit 87af73d

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- Remove `consumerdata.TraceData` (#2551)
88
- Move `consumerdata.MetricsData` to `internaldata.MetricsData` (#2512)
99
- Remove custom OpenCensus sematic conventions that have equivalent in otel (#2552)
10+
- Remove deprecated componenterror.CombineErrors (#2598)
1011

1112
## v0.21.0 Beta
1213

component/componenterror/errors.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ package componenterror
1818

1919
import (
2020
"errors"
21-
22-
"go.opentelemetry.io/collector/consumer/consumererror"
2321
)
2422

2523
var (
@@ -32,9 +30,3 @@ var (
3230
// ErrNilNextConsumer indicates an error on nil next consumer.
3331
ErrNilNextConsumer = errors.New("nil nextConsumer")
3432
)
35-
36-
// CombineErrors converts a list of errors into one error.
37-
// Deprecated: use consumererror.CombineErrors instead.
38-
func CombineErrors(errs []error) error {
39-
return consumererror.CombineErrors(errs)
40-
}

0 commit comments

Comments
 (0)