Skip to content

Commit

Permalink
Update collector module version
Browse files Browse the repository at this point in the history
  • Loading branch information
mwear committed Apr 24, 2024
1 parent 04cf05b commit 1a45be5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extension/healthcheckv2extension/internal/http/server.go
Expand Up @@ -83,12 +83,12 @@ func (s *Server) Start(ctx context.Context, host component.Host) error {
var err error
s.startTimestamp = time.Now()

s.httpServer, err = s.httpConfig.ToServerContext(ctx, host, s.telemetry, s.mux)
s.httpServer, err = s.httpConfig.ToServer(ctx, host, s.telemetry, s.mux)
if err != nil {
return err
}

ln, err := s.httpConfig.ToListenerContext(ctx)
ln, err := s.httpConfig.ToListener(ctx)
if err != nil {
return fmt.Errorf("failed to bind to address %s: %w", s.httpConfig.Endpoint, err)
}
Expand Down

0 comments on commit 1a45be5

Please sign in to comment.