Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
Signed-off-by: Wise-Wizard <[email protected]>
  • Loading branch information
Wise-Wizard committed Jul 3, 2024
1 parent 1894931 commit 1cfca71
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cmd/jaeger/internal/extension/jaegerquery/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,20 +80,20 @@ func (s *server) Start(_ context.Context, host component.Host) error {
if err != nil {
return fmt.Errorf("could not initialize a tracer: %w", err)
}

telset := telemetery.Setting{
Logger: s.logger,
Tracer: s.jtracer,
HC: healthcheck.New(),
}
// TODO contextcheck linter complains about next line that context is not passed. It is not wrong.
//nolint
s.server, err = queryApp.NewServer(
telemetery.Setting{
Logger: s.logger,
Tracer: s.jtracer,
},
// TODO propagate healthcheck updates up to the collector's runtime
healthcheck.New(),
qs,
metricsQueryService,
s.makeQueryOptions(),
tm,
telset,
)
if err != nil {
return fmt.Errorf("could not create jaeger-query: %w", err)
Expand Down

0 comments on commit 1cfca71

Please sign in to comment.