diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-08-11 09:49:55 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-09-23 10:02:55 +0300 |
commit | 0e459e2167a73235f40f91d747039d7d9f2b0d33 (patch) | |
tree | 5a42cb8b1f7b15ee2b1149bef1b5eaaf7697d3a0 /.golangci.yml | |
parent | f1a28cb3f75d406ff9380729d2ffa902a5487f8d (diff) |
safe: Check error code when closing writers
Check error codes when closing a `safe.LockingFileWriter` or
`safe.Writer` and drop the corresponding exclude from our linting rules.
Diffstat (limited to '.golangci.yml')
-rw-r--r-- | .golangci.yml | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/.golangci.yml b/.golangci.yml index 36368721c..7b874bd4a 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -61,8 +61,6 @@ linters-settings: - (*gitlab.com/gitlab-org/gitaly/v15/client.Pool).Close - (*gitlab.com/gitlab-org/gitaly/v15/client.SidechannelWaiter).Close - (*gitlab.com/gitlab-org/gitaly/v15/internal/gitaly/hook.SidechannelWaiter).Close - - (*gitlab.com/gitlab-org/gitaly/v15/internal/safe.FileWriter).Close - - (*gitlab.com/gitlab-org/gitaly/v15/internal/safe.LockingFileWriter).Close - (*gitlab.com/gitlab-org/gitaly/v15/internal/sidechannel.ServerConn).Close - (*gitlab.com/gitlab-org/gitaly/v15/internal/sidechannel.Waiter).Close - (*gitlab.com/gitlab-org/gitaly/v15/internal/streamcache.pipe).Close |