aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorGravatar Yong Tang <yong.tang.github@outlook.com> 2022-03-14 09:09:50 -0700
committerGravatar GitHub <noreply@github.com> 2022-03-14 09:09:50 -0700
commit54531d0a4403bd15b2c152f8a987e3d628a9b7cc (patch)
treecb6adbfea086c2e2fd583c24e41836fffe2c488e /plugin
parenta7ae4bb8832c51d3ae605f61087a423a04e82bf8 (diff)
downloadcoredns-54531d0a4403bd15b2c152f8a987e3d628a9b7cc.tar.gz
coredns-54531d0a4403bd15b2c152f8a987e3d628a9b7cc.tar.zst
coredns-54531d0a4403bd15b2c152f8a987e3d628a9b7cc.zip
Clean up dependency on github.com/golang/protobuf (#5222)
This PR cldean up remaining left over of github.com/golang/protobuf in coredns, as github.com/golang/protobuf has been deprecated. Note the github.com/golang/protobuf is now only indirectly used by external libraries. Manually updating coredns' dependency to futher clean up has been tried. However, it was not possible as external library usages of github.com/golang/protobuf are too interleaved. This PR fixes 4939. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Diffstat (limited to 'plugin')
-rw-r--r--plugin/dnstap/encoder.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/dnstap/encoder.go b/plugin/dnstap/encoder.go
index 09b1e2e6f..93d3e73d9 100644
--- a/plugin/dnstap/encoder.go
+++ b/plugin/dnstap/encoder.go
@@ -6,7 +6,7 @@ import (
tap "github.com/dnstap/golang-dnstap"
fs "github.com/farsightsec/golang-framestream"
- "github.com/golang/protobuf/proto"
+ "google.golang.org/protobuf/proto"
)
// encoder wraps a golang-framestream.Encoder.