This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrades Go to `1.19`, `golang.org/x/tools` to `v0.1.12`, and `github.com/crossplane/terrajet` to `v0.4.2`, and then regenerates code with `make generate`. `make generate` fails at the latest main branch: ``` $ make generate 17:08:53 [ .. ] verify dependencies have expected content all modules verified 17:08:55 [ OK ] go modules dependencies verified 17:08:55 [ .. ] generating provider schema for hashicorp/google 4.18.0 17:08:58 [ OK ] generating provider schema for hashicorp/google 4.18.0 17:08:58 [ .. ] go generate darwin_arm64 panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x2 addr=0x50 pc=0x105d28f0c] goroutine 1 [running]: github.com/crossplane/terrajet/pkg/types.init.0() /Users/micnncim/src/github.com/crossplane-contrib/provider-jet-gcp/.work/pkg/pkg/mod/github.com/crossplane/[email protected]/pkg/types/reference.go:73 +0x10c exit status 2 apis/generate.go:33: running "go": exit status 1 generate: open /Users/micnncim/src/github.com/crossplane-contrib/provider-jet-gcp/apis/cloudplatform/v1alpha2/zz_folder_types.go: no such file or directory 17:09:01 [FAIL] make[1]: *** [build/makelib/golang.mk:271: go.generate] Error 1 make: *** [build/makelib/common.mk:419: generate] Error 2 ``` System and Go information is below: ``` $ go version go version go1.19 darwin/arm64 ``` Signed-off-by: micnncim <[email protected]>
- Loading branch information