diff options
author | Vladimir Shushlin <v.shushlin@gmail.com> | 2021-12-06 16:24:20 +0300 |
---|---|---|
committer | Vladimir Shushlin <v.shushlin@gmail.com> | 2021-12-07 12:07:31 +0300 |
commit | 0ab62643e5b61daf82ecf5a2c1ed196796059514 (patch) | |
tree | 87c3aad7e854a40b86ca1c0578d20135965cddd4 /test/acceptance/metrics_test.go | |
parent | d228c13c76d11091f8514e40940dc7df1b633e5a (diff) |
refactor: enable unparam in .golangci.yml
and fix offences
Diffstat (limited to 'test/acceptance/metrics_test.go')
-rw-r--r-- | test/acceptance/metrics_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/acceptance/metrics_test.go b/test/acceptance/metrics_test.go index cb4262fb..32a36638 100644 --- a/test/acceptance/metrics_test.go +++ b/test/acceptance/metrics_test.go @@ -9,8 +9,7 @@ import ( ) func TestPrometheusMetricsCanBeScraped(t *testing.T) { - _, cleanup := newZipFileServerURL(t, "../../shared/pages/group/zip.gitlab.io/public.zip") - defer cleanup() + runObjectStorage(t, "../../shared/pages/group/zip.gitlab.io/public.zip") RunPagesProcess(t, withExtraArgument("max-conns", "10"), |