Open FraPazGal opened 2 years ago
That was a nice solution @petchumpriwan, thanks for the help! I suppose the vendor
folder was not updated before the release and that is the cause of the issue.
When I read my reply again, I think I type something that quite not clear and mislead the cause. Let's me give more information on that
vendor
folder was updated in b3e76c6 before v0.11 release
For my case, I got an error similar to this
Error: vendor/k8s.io/client-go/discovery/discovery_client.go:31:2: cannot find package "." in:
/home/runner/work/kubernetes-event-exporter/kubernetes-event-exporter/vendor/github.com/googleapis/gnostic/openapiv2
I think it was caused by owner git setting being somehow has been set to case-insensitive, so it did not see that OpenAPIv2
folder is changed to all lowercase in the newer version, then it's break the building process
vendor/github.com/googleapis/gnostic/
OpenAPIv2
→ vendor/github.com/googleapis/gnostic/openapiv2
The folder name is still OpenAPIv2
in current commit
😄
Hello all,
As the title says, I'm having trouble compiling the go binary by running:
I'm using Golang
1.17
and building the latest0.11
version. I have seen the same error in the GitHub CI, so I'm inclined to believe there is an issue in the released files.Thanks in advance, Francisco de Paz