Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ambiguous import #1142

Open
akfaew opened this issue Feb 26, 2025 · 3 comments
Open

ambiguous import #1142

akfaew opened this issue Feb 26, 2025 · 3 comments

Comments

@akfaew
Copy link

akfaew commented Feb 26, 2025

I have recently started getting this error when updating my project:

        cloud.google.com/go/profiler tested by
        cloud.google.com/go/profiler.test imports
        cloud.google.com/go/profiler/proftest imports
        cloud.google.com/go/storage imports
        google.golang.org/grpc/xds/googledirectpath imports
        google.golang.org/grpc/xds imports
        google.golang.org/grpc/xds/internal/xdsclient imports
        google.golang.org/grpc/xds/internal/xdsclient/transport/grpctransport imports
        github.com/envoyproxy/go-control-plane/envoy/service/load_stats/v3: ambiguous import: found package github.com/envoyproxy/go-control-plane/envoy/service/load_stats/v3 in multiple modules:
        github.com/envoyproxy/go-control-plane v0.13.1 (/home/xxx/go/pkg/mod/github.com/envoyproxy/[email protected]/envoy/service/load_stats/v3)
        github.com/envoyproxy/go-control-plane/envoy v1.32.4 (/home/xxx/go/pkg/mod/github.com/envoyproxy/go-control-plane/[email protected]/service/load_stats/v3)

I don't directly use go-control-plane, Google libraries appear to.

@akfaew
Copy link
Author

akfaew commented Feb 26, 2025

@mmorel-35
Copy link
Contributor

The versions of go-control-plane and envoy doesn"t seems be the one expected.

I provided an update on those packages googleapis/google-cloud-go@d52451a

A kind of release was done https://github.com/googleapis/google-cloud-go/releases/tag/v0.118.3
It probably requires a new release from the sub modules in google-cloud-go

I'm not very familiar with their process

@mmorel-35
Copy link
Contributor

mmorel-35 commented Mar 16, 2025

Hi @akfaew ,

cloud.google.com/go/storage has been released with v1.51.0 :

cloud.google.com/go/profiler is waiting for a release here:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants