diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-01-02 15:06:19 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-01-02 15:06:19 +0100 |
| commit | ec6824295f5bb07089bf42f6a2da5f30762d74d7 (patch) | |
| tree | 92435f3b3f16475e52f09665206a3db24d8fffd9 /internal/discovery | |
| parent | bd388782c73a8d0f31ddb4719e36fd8ec11f6e08 (diff) | |
Discovery Test: Ignore linter for serve error
Diffstat (limited to 'internal/discovery')
| -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 |
