Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2021-04-15 20:53:50 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2021-04-19 09:47:32 +0300
commite4b922e087a10a99047d20311f6e5d1b0bdda56b (patch)
tree8d0561cec03292c25c24f4f1d2d781db2e8d9c92 /.golangci.yml
parent79434be154ecc4f8056b2f0f627b557c8ccbb277 (diff)
bootstrap: Check error values of various functions
Our bootstrap tests are missing error checks for multiple function invocations. Add them and drop the corresponding linter ignore rules.
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml12
1 files changed, 0 insertions, 12 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 4069b0d41..d753f4330 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -857,18 +857,6 @@ issues:
text: "Error return value of `cmd.Process.Kill` is not checked"
- linters:
- errcheck
- path: "internal/bootstrap/bootstrap_test.go"
- text: "Error return value of `server.server.Shutdown` is not checked"
- - linters:
- - errcheck
- path: "internal/bootstrap/bootstrap_test.go"
- text: "Error return value of `b.upgrader.Upgrade` is not checked"
- - linters:
- - errcheck
- path: "internal/bootstrap/bootstrap_test.go"
- text: "Error return value of `s.Shutdown` is not checked"
- - linters:
- - errcheck
path: "internal/gitaly/service/smarthttp/upload_pack_test.go"
text: "Error return value of `pktline.WriteDelim` is not checked"
- linters: