Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Add support for extra checking #282

Open
remyleone opened this issue May 4, 2022 · 2 comments
Open

Add support for extra checking #282

remyleone opened this issue May 4, 2022 · 2 comments
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@remyleone
Copy link

What happened?

While generating my code I've stumbled upon the following error:

$ make generate
15:30:54 [ .. ] verify dependencies have expected content
all modules verified
15:30:57 [ OK ] go modules dependencies verified
15:30:57 [ .. ] go generate darwin_amd64
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x50 pc=0x224aff6]

goroutine 1 [running]:
github.com/crossplane/terrajet/pkg/types.init.0()
        /Users/sieben/workspace/crossplane-scaleway-provider/.work/pkg/pkg/mod/github.com/crossplane/[email protected]/pkg/types/reference.go:73 +0x116
exit status 2
apis/generate.go:32: running "go": exit status 1
generate: open /Users/sieben/workspace/crossplane-scaleway-provider/apis/account/v1alpha1/zz_generated.deepcopy.go: no such file or directory
15:31:03 [FAIL]
make[1]: *** [go.generate] Error 1
make: *** [generate] Error 2

How can we reproduce it?

Try to upgrade https://github.com/remyleone/crossplane-scaleway-provider/ to the latest version of terrajet

@remyleone remyleone added the bug Something isn't working label May 4, 2022
@loafoe
Copy link

loafoe commented May 5, 2022

@remyleone using Go 1.18? If so, see #271

@stale
Copy link

stale bot commented Aug 13, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Aug 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants