diff --git a/CHANGELOG.md b/CHANGELOG.md index ac70e572c56..fbc906ab464 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - Removed dependency on `github.com/open-telemetry/opentelemetry-collector`. (#943) - Removed `go.opentelemetry.io/otel/api/kv/value` by flattening all value functionality and structures into the `go.opentelemetry.io/otel/api/kv` package. (#968) +- Remove `IndexedAttribute` from `go.opentelemetry.io/otel/api/label`. + Use `IndexedLabel` which is synonymous instead. (#970) ## [0.8.0] - 2020-07-09 diff --git a/api/label/iterator.go b/api/label/iterator.go index f4870f5dd4c..d2ab561854d 100644 --- a/api/label/iterator.go +++ b/api/label/iterator.go @@ -65,11 +65,6 @@ func (i *Iterator) IndexedLabel() (int, kv.KeyValue) { return i.idx, i.Label() } -// IndexedAttribute is a synonym for IndexedLabel(). -func (i *Iterator) IndexedAttribute() (int, kv.KeyValue) { - return i.IndexedLabel() -} - // Len returns a number of labels in the iterator's `*Set`. func (i *Iterator) Len() int { return i.storage.Len()