Skip to content

Commit

Permalink
[groupbyattrsprocessor] Fix go.mod to match package name (#2662)
Browse files Browse the repository at this point in the history
go.mod file had this:

module github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbyattrs

but the package name is 'groupbyattrsprocessor'

This mis-match resulted in errors like:

$ go get github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbyattrsprocessor
go get: github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbyattrsprocessor@none updating to
	github.com/open-telemetry/opentelemetry-collector-contrib/processor/[email protected]: parsing go.mod:
	module declares its path as: github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbyattrs
	        but was required as: github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbyattrsprocessor

preventing the module being used on opentelemetry-collector-builder.

Naming the module 'groupbyattrsprocessor' in go.mod fixes this error.
  • Loading branch information
gregoryfranklin authored and pmatyjasek-sumo committed Apr 28, 2021
1 parent 3d7c211 commit 0b9f185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processor/groupbyattrsprocessor/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbyattrs
module github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbyattrsprocessor

go 1.14

Expand Down

0 comments on commit 0b9f185

Please sign in to comment.