Skip to content

Commit

Permalink
Delete deprecated config.Unmarshalable interface
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan <bogdandrutu@gmail.com>
  • Loading branch information
bogdandrutu committed Sep 15, 2022
1 parent fa45027 commit 72656a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

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

- Delete deprecated `config.Unmarshalable` interface. (#6084)

## 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 72656a6

Please sign in to comment.