addon-oam-kubernetes-local icon indicating copy to clipboard operation
addon-oam-kubernetes-local copied to clipboard

Repo `github.com/crossplane/oam-controllers` could NOT be found.

Open zzxwill opened this issue 5 years ago • 2 comments

Like https://github.com/crossplane/addon-oam-kubernetes-local/blob/master/main.go#L30, repo github.com/crossplane/oam-controllers doesn't exists.

I think it might need to be replaced with https://github.com/crossplane/addon-oam-kubernetes-local

zzxwill avatar Jun 15 '20 08:06 zzxwill

Using go mod like this can fix your problem:

module XXXX

go 1.13

require (
	github.com/crossplane/oam-controllers v0.0.0-00010101000000-000000000000
)

replace github.com/crossplane/oam-controllers => github.com/crossplane/addon-oam-kubernetes-local v0.0.0-20200522083149-1bc0918a6ce9

But I also agree that we should align with default conventions for GitHub go modules.

wonderflow avatar Jun 15 '20 09:06 wonderflow

@ryanzhang-oss Please also help confirm it as the replacement is just my guessing:)

zzxwill avatar Jun 15 '20 15:06 zzxwill