From ec6824295f5bb07089bf42f6a2da5f30762d74d7 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 2 Jan 2023 15:06:19 +0100 Subject: Discovery Test: Ignore linter for serve error --- internal/discovery/discovery_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/discovery/discovery_test.go') 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 -- cgit v1.2.3