Skip to content

Commit

Permalink
Fix import comment bug (#379)
Browse files Browse the repository at this point in the history
* Fix import comment bug

The import of the
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp is
failing when imported outside of a module because this comment did not
have a syntactically valid import statement.

* Add changes to changelog
  • Loading branch information
MrAlias committed Oct 2, 2020
1 parent 5ef58e7 commit caffe1d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
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

- The import comment in `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` is now correctly quoted. (#379)

## [0.12.0] - 2020-09-25

### Added
Expand Down
2 changes: 1 addition & 1 deletion instrumentation/net/http/otelhttp/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
// Package otelhttp provides an http.Handler and functions that are intended
// to be used to add tracing by wrapping existing handlers (with Handler) and
// routes WithRouteTag.
package otelhttp // import go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
package otelhttp // import "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"

0 comments on commit caffe1d

Please sign in to comment.