envoyproxy / envoy

Cloud-native high-performance edge/middle/service proxy
https://www.envoyproxy.io
Apache License 2.0
25k stars 4.81k forks source link

Unable to upgrade go dependency to github.com/envoyproxy/envoy@v1.31.2 #36663

Closed maguro closed 3 weeks ago

maguro commented 3 weeks ago

Title: Unable to upgrade go dependency to github.com/envoyproxy/envoy@v1.31.2

Description:

$ go get github.com/envoyproxy/envoy@v1.31.2
go: upgraded github.com/envoyproxy/envoy v1.26.2 => v1.31.2
$ go mod tidy                               
go: finding module for package github.com/envoyproxy/envoy/contrib/golang/filters/http/source/go/pkg/api
go: found github.com/envoyproxy/envoy/contrib/golang/filters/http/source/go/pkg/api in github.com/envoyproxy/envoy/contrib/golang/filters/http/source/go v0.0.0-20230324062628-466cf15f1790
go: foo.ai/go/filters/bar imports
    github.com/envoyproxy/envoy/contrib/golang/filters/http/source/go/pkg/http: ambiguous import: found package github.com/envoyproxy/envoy/contrib/golang/filters/http/source/go/pkg/http in multiple modules:
    github.com/envoyproxy/envoy v1.31.2 (/Users/adc/.gvm/pkgsets/go1.23.2/global/pkg/mod/github.com/envoyproxy/envoy@v1.31.2/contrib/golang/filters/http/source/go/pkg/http)
    github.com/envoyproxy/envoy/contrib/golang/filters/http/source/go v0.0.0-20230324062628-466cf15f1790 (/Users/adc/.gvm/pkgsets/go1.23.2/global/pkg/mod/github.com/envoyproxy/envoy/contrib/golang/filters/http/source/go@v0.0.0-20230324062628-466cf15f1790/pkg/http)
maguro commented 3 weeks ago

I forgot to update the imports. :doh: