Skip to content

Commit

Permalink
OTLP server -> receiver
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Shkuro <[email protected]>
  • Loading branch information
yurishkuro committed May 29, 2022
1 parent cbef013 commit 266ea87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/collector/app/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func (c *Collector) Start(options *CollectorOptions) error {
c.spanProcessor,
)
if err != nil {
return fmt.Errorf("could not start OTLP server: %w", err)
return fmt.Errorf("could not start OTLP receiver: %w", err)
}
c.otlpReceiver = otlpReceiver

Expand Down
2 changes: 1 addition & 1 deletion cmd/collector/app/collector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func TestCollector_StartErrors(t *testing.T) {

options = optionsForEphemeralPorts()
options.OTLP.HTTPHostPort = ":-1"
run("OTLP", options, "could not start OTLP server")
run("OTLP", options, "could not start OTLP receiver")
}

type mockStrategyStore struct {
Expand Down

0 comments on commit 266ea87

Please sign in to comment.