[chore] update otel -> v1.20.0 (#2358)

This commit is contained in:
tobi
2023-11-13 11:08:02 +01:00
committed by GitHub
parent deaea100c3
commit 7753f42132
422 changed files with 1814 additions and 6590 deletions

View File

@ -121,9 +121,9 @@ func (a *Attributes) String() string {
return sb.String()
}
func str(x any) string {
func str(x any) (s string) {
if v, ok := x.(fmt.Stringer); ok {
return v.String()
return fmt.Sprint(v)
} else if v, ok := x.(string); ok {
return v
}