From dde1930477d26bb9ce5207666f599c4e528c0bca Mon Sep 17 00:00:00 2001 From: Ashvitha Date: Mon, 1 May 2023 11:07:05 -0400 Subject: [PATCH] Remove unused imports in host_id_bsd.go (#4041) * remove unused imports in host_id_bsd.go * Add changelog entry --------- Co-authored-by: Chester Cheung --- CHANGELOG.md | 4 ++++ sdk/resource/host_id_bsd.go | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a617aba787..d4a0ae58374 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## [Unreleased] +### Fixed + +- Remove unused imports from `sdk/resource/host_id_bsd.go` which caused build failures. (#4040, #4041) + ## [1.15.0/0.38.0] 2023-04-27 ### Added diff --git a/sdk/resource/host_id_bsd.go b/sdk/resource/host_id_bsd.go index 0037b65da45..1778bbacf05 100644 --- a/sdk/resource/host_id_bsd.go +++ b/sdk/resource/host_id_bsd.go @@ -17,11 +17,6 @@ package resource // import "go.opentelemetry.io/otel/sdk/resource" -import ( - "errors" - "strings" -) - var platformHostIDReader hostIDReader = &hostIDReaderBSD{ execCommand: execCommand, readFile: readFile,