Skip to content

Commit

Permalink
fix(agent): fixed nil function reference error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Luiz Pegoraro committed Nov 15, 2023
1 parent 113db6d commit 6ed419c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions agent/backend/diode/scrape.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ func (d *diodeBackend) receiveOtlp() {
Logger: d.logger,
TracerProvider: trace.NewNoopTracerProvider(),
MeterProvider: metric.NewMeterProvider(),
ReportComponentStatus: func(*component.StatusEvent) error {
return nil
},
},
BuildInfo: component.NewDefaultBuildInfo(),
}
Expand Down

0 comments on commit 6ed419c

Please sign in to comment.