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 sub-package value from kv (#968)
* Remove sub-package value from kv * Update refs to `go.opentelemetry.io/api/kv/value` * Update Changelog
This commit is contained in:
@@ -18,8 +18,6 @@ import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"go.opentelemetry.io/otel/api/kv/value"
|
||||
|
||||
"go.opentelemetry.io/otel/api/kv"
|
||||
)
|
||||
|
||||
@@ -281,7 +279,7 @@ func getTestCases() []testCase {
|
||||
func makeTestMap(ints []int) Map {
|
||||
r := make(rawMap, len(ints))
|
||||
for _, v := range ints {
|
||||
r[kv.Key(fmt.Sprintf("key%d", v))] = value.Int(v)
|
||||
r[kv.Key(fmt.Sprintf("key%d", v))] = kv.IntValue(v)
|
||||
}
|
||||
return newMap(r)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user