-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
panic: interface conversion: types.Type is *types.Alias, not *types.Named #1076
Comments
Can you please provide the entire panic stack trace? (cc @mtardy fyi) |
Just tried out locally, https://github.com/kubernetes-sigs/controller-tools/blob/main/pkg/crd/schema.go#L277 changing this line to
fixes it |
|
Oh it seems I didn’t hit that indeed. Maybe you can add a test for it and fix it similarly that in #1061 :) |
I’ll do grep on |
After fixing this one:
Those should be not panicking as in two cases they are checking |
Thx @mtardy for investigating and fixing this! @markussiebert Can you please test if controller-gen compiled from the main branch works for you now? |
controller-gen compiles from the main branch as expected. |
Hi,
just experiencing this issue (#1053) again:
Version:
We are on go 1.23.1
The text was updated successfully, but these errors were encountered: