From 3740c2712464df855ed5ea24e8c34634c215bc76 Mon Sep 17 00:00:00 2001 From: Sam DeHaan Date: Tue, 5 Nov 2024 16:31:04 -0500 Subject: [PATCH] Clean up added host variable that is no longer used --- internal/service/http/http.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/service/http/http.go b/internal/service/http/http.go index 5d0f6a9c6..14a0e0810 100644 --- a/internal/service/http/http.go +++ b/internal/service/http/http.go @@ -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. // @@ -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()