Closed
Description
/kind bug
What steps did you take and what happened:
Run make bin/clusterctl
:
go build -o bin/clusterctl sigs.k8s.io/cluster-api/cmd/clusterctl
build sigs.k8s.io/cluster-api/cmd/clusterctl: cannot load github.com/Azure/go-autorest/autorest: ambiguous import: found github.com/Azure/go-autorest/autorest in multiple modules:
github.com/Azure/go-autorest v11.1.2+incompatible (/home/luigi/go/pkg/mod/github.com/!azure/[email protected]+incompatible/autorest)
github.com/Azure/go-autorest/autorest v0.9.0 (/home/luigi/go/pkg/mod/github.com/!azure/go-autorest/[email protected])
Makefile:110: recipe for target 'bin/clusterctl' failed
What did you expect to happen:
Build to succeed
Anything else you would like to add:
This error was likely introduced when we started importing kubeadm provider as a depedency to this repository, which had a mistmatched version of Azure autorest library.