Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove aks-engine from "vendor/" and go.mod. (Azure#277)
* Remove aks-engine from "vendor/" and go.mod. I have previously removed all dependencies on aks-engine so we don't need it anymore. * Add modules depended upon by aks-engine to our go.mod. Previously I removed aks-engine from our go.mod file, now I got this build error: ../../../go/pkg/mod/k8s.io/[email protected]+incompatible/rest/request.go:598:31: not enough arguments in call to watch.NewStreamWatcher have (*versioned.Decoder) want (watch.Decoder, watch.Reporter) It seems aks-engine depends on some older versions of some modules. After removing aks-engine from our go.mod, our code now would try to get newer, incompatible versions of the modules and thus the build break. Adding the depended upon module versions explicitly to the go.mod file fixes the problem. The versions are obtained from aks-engine's go.mod file (https://github.com/Azure/aks-engine/blob/v0.47.0-aks-gomod-a5/go.mod)
- Loading branch information