-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When using a simple go.work, like: go 1.23 use . Builds fail with: $ go build golang.org/x/benchmarks/... ../../go/pkg/mod/cloud.google.com/go/[email protected]/bucket.go:27:2: ambiguous import: found package cloud.google.com/go/compute/metadata in multiple modules: cloud.google.com/go v0.97.0 (/usr/local/google/home/mpratt/go/pkg/mod/cloud.google.com/[email protected]/compute/metadata) cloud.google.com/go/compute/metadata v0.3.0 (/usr/local/google/home/mpratt/go/pkg/mod/cloud.google.com/go/compute/[email protected]) I don't understand why adding a go.work causes this, but there is no harm in updating cloud.google.com/go to a newer version with no conflicting module. Change-Id: I346eb5e8b5c4ba307fd8d9948026d8206af8564c Reviewed-on: https://go-review.googlesource.com/c/benchmarks/+/601196 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Michael Knyszek <[email protected]>
- Loading branch information
Showing
2 changed files
with
118 additions
and
475 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.