Skip to content

Commit

Permalink
Remove Unnecessary Function
Browse files Browse the repository at this point in the history
Signed-off-by: Mahad Zaryab <[email protected]>
  • Loading branch information
mahadzaryab1 committed Sep 28, 2024
1 parent ac8b608 commit c1e57dd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cmd/jaeger/internal/extension/jaegerquery/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func (s *server) Start(_ context.Context, host component.Host) error {
// TODO propagate healthcheck updates up to the collector's runtime
qs,
mqs,
s.makeQueryOptions(),
&s.config.QueryOptions,
tm,
telset,
)
Expand Down Expand Up @@ -158,10 +158,6 @@ func (s *server) createMetricReader(host component.Host) (metricsstore.Reader, e
return metricsReader, err
}

func (s *server) makeQueryOptions() *queryApp.QueryOptions {
return &s.config.QueryOptions
}

func (s *server) Shutdown(ctx context.Context) error {
var errs []error
if s.server != nil {
Expand Down

0 comments on commit c1e57dd

Please sign in to comment.