diff options
Diffstat (limited to 'internal/discovery/discovery_test.go')
| -rw-r--r-- | internal/discovery/discovery_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/discovery/discovery_test.go b/internal/discovery/discovery_test.go index 342caba..ff1ea78 100644 --- a/internal/discovery/discovery_test.go +++ b/internal/discovery/discovery_test.go @@ -16,7 +16,7 @@ func setupFileServer(t *testing.T, directory string) (*http.Server) { t.Fatalf("Failed to setup discovery file server") } s := &http.Server{Handler: http.FileServer(http.Dir(directory))} - go s.Serve(listener) + go s.Serve(listener) //nolint:errcheck // Override the global disco URL with the local file server port := listener.Addr().(*net.TCPAddr).Port |
