You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-12-07 23:32:49 +02:00
Remove IndexedAttribute from api/label (#970)
* Remove IndexedAttribute from api/label IndexedAttribute is a synonym for IndexedLabel and a hold over from when this iterator pattern had multiple implementations. Given it no longer is uses, remove it to avoid introducing confusion to users. * Update Changelog * Update Changelog PR number
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user