You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-11-27 22:49:15 +02:00
Use ByteSliceToString from golang.org/x/sys/unix (#2924)
Use unix.ByteSliceToString to convert Utsname []byte fields to strings. This also allows to drop the charsToString helper which serves the same purpose and matches ByteSliceToString's implementation. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
This commit is contained in:
@@ -19,7 +19,6 @@ package resource // import "go.opentelemetry.io/otel/sdk/resource"
|
||||
|
||||
var (
|
||||
Uname = uname
|
||||
CharsToString = charsToString
|
||||
GetFirstAvailableFile = getFirstAvailableFile
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user