Skip to content

Commit

Permalink
Remove unused imports in host_id_bsd.go (#4041)
Browse files Browse the repository at this point in the history
* remove unused imports in host_id_bsd.go

* Add changelog entry

---------

Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
  • Loading branch information
Achooo and hanyuancheung committed May 1, 2023
1 parent 7c55250 commit dde1930
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions sdk/resource/host_id_bsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@

package resource // import "go.opentelemetry.io/otel/sdk/resource"

import (
"errors"
"strings"
)

var platformHostIDReader hostIDReader = &hostIDReaderBSD{
execCommand: execCommand,
readFile: readFile,
Expand Down

0 comments on commit dde1930

Please sign in to comment.