Skip to content

Commit

Permalink
Fix the unknown revision error
Browse files Browse the repository at this point in the history
Goland IDE reports the following error because vm-operator api mod has
a dependency on its testlabels. Fix it by specifying the version.

invalid version: unknown revision 000000000000
  • Loading branch information
DanielXiao committed Jul 2, 2024
1 parent a0596b0 commit a24c238
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module k8s.io/cloud-provider-vsphere

go 1.22.4

replace github.com/vmware-tanzu/vm-operator/pkg/constants/testlabels => github.com/vmware-tanzu/vm-operator/pkg/constants/testlabels v1.8.7-0.20240625173706-a93aa9f0bda0

require (
github.com/fsnotify/fsnotify v1.7.0
github.com/golang/mock v1.6.0
Expand Down
2 changes: 2 additions & 0 deletions test/e2e/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ go 1.22.0

toolchain go1.22.3

replace sigs.k8s.io/cluster-api-provider-vsphere => sigs.k8s.io/cluster-api-provider-vsphere v1.10.0-rc.1.0.20240521132953-469f652e57ae

require (
github.com/onsi/ginkgo/v2 v2.19.0
github.com/onsi/gomega v1.33.1
Expand Down

0 comments on commit a24c238

Please sign in to comment.