This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Description
What happened?
Earlier this week we were updating our Terrajet based provider and ran into this panic
while running make generate:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x50 pc=0x1e91a76]
goroutine 1 [running]:
github.com/crossplane/terrajet/pkg/types.init.0()
/Users/julienduchesne/Repos/provider-jet-grafana/.work/pkg/pkg/mod/github.com/crossplane/terrajet@v0.4.0`/pkg/types/reference.go`:73 +0x116
exit status 2
apis/generate.go:33: running "go": exit status 1
15:12:49 [FAIL]
make[1]: *** [go.generate] Error 1
make: *** [generate] Error 2
How can we reproduce it?
Install go 1.18
Checkout https://github.com/grafana/crossplane-provider-grafana
Run make generate
The resolution was to downgrade to go v1.17.
I assume it can/will happen with other Terrajet projects too.
When we digged a little bit, then it quickly went into the go/types library, so I'm not
sure if this is a Terrajet issue or something upstream.
backref downstream: grafana/crossplane-provider-grafana#14
Reactions are currently unavailable
What happened?
Earlier this week we were updating our Terrajet based provider and ran into this panic
while running
make generate:How can we reproduce it?
make generateThe resolution was to downgrade to go v1.17.
I assume it can/will happen with other Terrajet projects too.
When we digged a little bit, then it quickly went into the go/types library, so I'm not
sure if this is a Terrajet issue or something upstream.
backref downstream: grafana/crossplane-provider-grafana#14