gubernator icon indicating copy to clipboard operation
gubernator copied to clipboard

Cannot upgrade gubernator?

Open miparnisari opened this issue 2 years ago • 1 comments

In my package i'm trying to update gubernator from 2.0.0-rc10 to 2.0.0-rc15:

image

image

However, this breaks my build:

Error: vendor/k8s.io/client-go/discovery/discovery_client.go:32:2: cannot find package "." in:
	/home/runner/work/sandcastle/sandcastle/vendor/github.com/googleapis/gnostic/openapiv2
make[1]: *** [Makefile:156: test-customers-functional] Error 1

It looks like it can't find googleapis/gnostic? So I tried adding this inside go.mod:

replace github.com/googleapis/gnostic => github.com/google/gnostic v0.5.5

but this doesn't seem to have any effect. :(

miparnisari avatar Mar 17 '22 22:03 miparnisari

What version of golang? It looks like you're using vendoring, do you see any files in vendor/github.com/googleapis/gnostic/openapiv2? perhaps you need to re-run go mod vendor.

denkyl08 avatar May 06 '22 17:05 denkyl08