Skip to content

Commit 32b26d7

Browse files
authored
Update go.mod
* fix: register envoy.service.discovery.v3.AggregatedDiscoveryService alias so grpc-go proxyless xDS clients can connect * Update go.mod * delete envoy code * delete envoy code v2
1 parent fff8ff3 commit 32b26d7

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

dubbod/discovery/pkg/xds/discovery.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func NewDiscoveryServer(env *model.Environment, clusterAliases map[string]string
9999
}
100100

101101
func (s *DiscoveryServer) Register(rpcs *grpc.Server) {
102-
// Register v1 server
102+
// Register xDS server
103103
discovery.RegisterAggregatedDiscoveryServiceServer(rpcs, s)
104104
}
105105

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ require (
3636
github.com/docker/docker v27.5.1+incompatible
3737
github.com/docker/docker-credential-helpers v0.9.3
3838
github.com/docker/go-connections v0.5.0
39-
github.com/dubbo-kubernetes/xds-api v0.0.0-20260228103100-7a9ab7bac3bb
39+
github.com/dubbo-kubernetes/xds-api v0.0.0-20260318022345-fca131fda8ec
4040
github.com/evanphx/json-patch/v5 v5.9.11
4141
github.com/fatih/color v1.18.0
4242
github.com/fsnotify/fsnotify v1.9.0

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4
196196
github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
197197
github.com/dubbo-kubernetes/xds-api v0.0.0-20260228103100-7a9ab7bac3bb h1:22gy5yN3itUL9himTcy8WaZVhVwikgDRIFLAiXgVmnY=
198198
github.com/dubbo-kubernetes/xds-api v0.0.0-20260228103100-7a9ab7bac3bb/go.mod h1:Xt+Kec3dL9AS7D3GJnqdNVJUW17VlFauXVnjkK/hVU0=
199+
github.com/dubbo-kubernetes/xds-api v0.0.0-20260318022345-fca131fda8ec h1:HnnmtgH5dbtK0KHaA4EV1sNBKIxxaeKGSXdrMPibNO8=
200+
github.com/dubbo-kubernetes/xds-api v0.0.0-20260318022345-fca131fda8ec/go.mod h1:qTuiKuHP/sQnQ+iPG5LHcbg2YNW+MwK44YuoDKGuvfI=
199201
github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
200202
github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
201203
github.com/elazarl/goproxy v1.2.3 h1:xwIyKHbaP5yfT6O9KIeYJR5549MXRQkoQMRXGztz8YQ=

0 commit comments

Comments
 (0)