Skip to content

Commit

Permalink
fix for attributesEqual() following otel-go slice-valued attribute re…
Browse files Browse the repository at this point in the history
…presentation change, see open-telemetry/opentelemetry-go#3108
  • Loading branch information
jmacd authored and kristinapathak committed Nov 30, 2022
1 parent 86d2daa commit 0edfbbd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lightstep/sdk/metric/internal/syncstate/sync.go
Expand Up @@ -301,6 +301,9 @@ func attributesEqual(a, b []attribute.KeyValue) bool {
return false
}
for i := range a {
if a[i].Value.Type() != b[i].Value.Type() {
return false
}
if a[i].Key != b[i].Key {
return false
}
Expand Down

0 comments on commit 0edfbbd

Please sign in to comment.