Skip to content

Commit

Permalink
Delete deprecated config.Unmarshalable interface (#6084)
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan <bogdandrutu@gmail.com>

Signed-off-by: Bogdan <bogdandrutu@gmail.com>
  • Loading branch information
bogdandrutu authored Sep 15, 2022
1 parent e73963d commit 3b334e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

### πŸ›‘ Breaking changes πŸ›‘

- Delete deprecated `config.Unmarshalable` interface. (#6084)
- Delete deprecated `p[metric|log|trace].MarshalerSizer` interfaces (#6083)


## v0.60.0 Beta

### πŸ›‘ Breaking changes πŸ›‘
Expand Down
4 changes: 1 addition & 3 deletions config/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// limitations under the License.

package config // import "go.opentelemetry.io/collector/config"

import (
"go.opentelemetry.io/collector/confmap"
)
Expand All @@ -26,9 +27,6 @@ type validatable interface {
Validate() error
}

// Deprecated: [v0.60.0] use confmap.Unmarshaler.
type Unmarshallable = confmap.Unmarshaler

// DataType is a special Type that represents the data types supported by the collector. We currently support
// collecting metrics, traces and logs, this can expand in the future.
type DataType = Type
Expand Down

0 comments on commit 3b334e5

Please sign in to comment.