Skip to content

Commit

Permalink
fix: Remove ErrNilNextConsumer checks
Browse files Browse the repository at this point in the history
These checks are now handled by the pipeline builder, and don't need to
be done explicitly by modules.
  • Loading branch information
tuturiffic committed Apr 22, 2024
1 parent b95d05d commit 12a64e6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions receiver/githubactionsreceiver/trace_receiver.go
Expand Up @@ -37,10 +37,6 @@ func newTracesReceiver(
config *Config,
nextConsumer consumer.Traces,
) (*githubActionsReceiver, error) {
if nextConsumer == nil {
return nil, component.ErrNilNextConsumer
}

if config.Endpoint == "" {
return nil, errMissingEndpoint
}
Expand Down

0 comments on commit 12a64e6

Please sign in to comment.