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:
authorPavlo Strokov <pstrokov@gitlab.com>2021-07-27 11:31:29 +0300
committerPavlo Strokov <pstrokov@gitlab.com>2021-07-27 11:31:29 +0300
commit0c4e61668e412772dcac68542342df47fecf2996 (patch)
tree4ae60c5abc619a9a02e4bf75e92258277572500f /.golangci.yml
parentbf55b6fc1a0c9bba1e9d1af29cf4ccab168d30e0 (diff)
lint: Fix deprecated import github.com/golang/protobuf/jsonpb
The dependency github.com/golang/protobuf is deprecated and should be replaced with google.golang.org/protobuf. This change replaces usage of the jsonpb package with encoding/protojson. The packages have incompatible API that is why the code changes were done to migrate. The exclusion rule removed from the golanci-lint tool configuration file to prevent future use of the deprecated package.
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml3
1 files changed, 0 insertions, 3 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 2e5955fa7..94d543d4f 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -708,9 +708,6 @@ issues:
text: "package github.com/golang/protobuf/proto is deprecated"
- linters:
- staticcheck
- text: "package github.com/golang/protobuf/jsonpb is deprecated"
- - linters:
- - staticcheck
text: "package github.com/golang/protobuf/ptypes is deprecated"
- linters:
- staticcheck