Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
Coredns
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Railgun
Coredns
Commits
d1f520a5
Commit
d1f520a5
authored
May 14, 2021
by
Jason Du
Committed by
GitHub
May 14, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix etcd to use v3.5.0-alpha.0 (#4628)
Signed-off-by:
Jason Du
<
xdu@infoblox.com
>
parent
ef0feaed
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
14 deletions
+43
-14
go.mod
go.mod
+5
-4
go.sum
go.sum
+34
-6
plugin/etcd/etcd.go
plugin/etcd/etcd.go
+2
-2
plugin/etcd/setup.go
plugin/etcd/setup.go
+1
-1
test/etcd_test.go
test/etcd_test.go
+1
-1
No files found.
go.mod
View file @
d1f520a5
...
...
@@ -12,7 +12,6 @@ require (
github.com/aws/aws-sdk-go v1.38.37
github.com/coredns/caddy v1.1.0
github.com/dnstap/golang-dnstap v0.4.0
github.com/dustin/go-humanize v1.0.0 // indirect
github.com/farsightsec/golang-framestream v0.3.0
github.com/golang/protobuf v1.5.2
github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645
...
...
@@ -28,17 +27,19 @@ require (
github.com/prometheus/client_golang v1.10.0
github.com/prometheus/client_model v0.2.0
github.com/prometheus/common v0.23.0
go.etcd.io/etcd v0.5.0-alpha.5.0.20200306183522-221f0cc107cb
go.etcd.io/etcd/api/v3 v3.5.0-alpha.0
go.etcd.io/etcd/client/v3 v3.5.0-alpha.0
go.uber.org/multierr v1.6.0 // indirect
go.uber.org/zap v1.16.0 // indirect
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2
golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 // indirect
golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57
google.golang.org/api v0.29.0
google.golang.org/grpc v1.
29
.1
google.golang.org/grpc v1.
37
.1
gopkg.in/DataDog/dd-trace-go.v1 v1.28.0
k8s.io/api v0.21.0
k8s.io/apimachinery v0.21.0
k8s.io/client-go v0.21.0
k8s.io/klog v1.0.0
)
replace github.com/coreos/bbolt => go.etcd.io/bbolt v1.3.4
go.sum
View file @
d1f520a5
This diff is collapsed.
Click to expand it.
plugin/etcd/etcd.go
View file @
d1f520a5
...
...
@@ -16,8 +16,8 @@ import (
"github.com/coredns/coredns/request"
"github.com/miekg/dns"
etcdcv3
"go.etcd.io/etcd/clientv3
"
"go.etcd.io/etcd/mvcc/mvccpb
"
"go.etcd.io/etcd/api/v3/mvccpb
"
etcdcv3
"go.etcd.io/etcd/client/v3
"
)
const
(
...
...
plugin/etcd/setup.go
View file @
d1f520a5
...
...
@@ -9,7 +9,7 @@ import (
mwtls
"github.com/coredns/coredns/plugin/pkg/tls"
"github.com/coredns/coredns/plugin/pkg/upstream"
etcdcv3
"go.etcd.io/etcd/clientv3"
etcdcv3
"go.etcd.io/etcd/client
/
v3"
)
func
init
()
{
plugin
.
Register
(
"etcd"
,
setup
)
}
...
...
test/etcd_test.go
View file @
d1f520a5
...
...
@@ -12,7 +12,7 @@ import (
"github.com/coredns/coredns/plugin/etcd/msg"
"github.com/miekg/dns"
etcdcv3
"go.etcd.io/etcd/clientv3"
etcdcv3
"go.etcd.io/etcd/client
/
v3"
)
func
etcdPlugin
()
*
etcd
.
Etcd
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment