summaryrefslogtreecommitdiff
path: root/internal/discovery
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2023-01-02 15:06:19 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2023-01-02 15:06:19 +0100
commitec6824295f5bb07089bf42f6a2da5f30762d74d7 (patch)
tree92435f3b3f16475e52f09665206a3db24d8fffd9 /internal/discovery
parentbd388782c73a8d0f31ddb4719e36fd8ec11f6e08 (diff)
Discovery Test: Ignore linter for serve error
Diffstat (limited to 'internal/discovery')
-rw-r--r--internal/discovery/discovery_test.go2
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