Skip to content

Commit

Permalink
Clean up added host variable that is no longer used
Browse files Browse the repository at this point in the history
  • Loading branch information
dehaansa committed Nov 5, 2024
1 parent 7307d16 commit 3740c27
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/service/http/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ type Service struct {
winMut sync.Mutex
win *server.WinCertStoreHandler

host service.Host

// publicLis and tcpLis are used to lazily enable TLS, since TLS is
// optionally configurable at runtime.
//
Expand Down Expand Up @@ -148,8 +146,6 @@ func (s *Service) Definition() service.Definition {
// Run starts the HTTP service. It will run until the provided context is
// canceled or there is a fatal error.
func (s *Service) Run(ctx context.Context, host service.Host) error {
s.host = host

var wg sync.WaitGroup
defer wg.Wait()

Expand Down

0 comments on commit 3740c27

Please sign in to comment.