-
Notifications
You must be signed in to change notification settings - Fork 1.8k
'add api' panics due to null pointer #1853
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
Comments
@jpkrohling Thanks for reporting this. We've had several similar reports. I re-opened #1759 yesterday because there definitely seems to be something going on. I'm going to close this as a duplicate so everyone can follow the progress in #1759. |
Just to close the loop, this seems to be fixed in the latest master (abac23c) |
For the record, the same solution from #1854 applies here: $ export GOROOT=/usr/lib/golang
$ GO111MODULE=on operator-sdk add api --api-version=jaegertracing.io/v1 --kind=Jaeger
INFO[0000] Generating api version jaegertracing.io/v1 for kind Jaeger.
INFO[0000] Created pkg/apis/jaegertracing/group.go
INFO[0003] Created pkg/apis/jaegertracing/v1/jaeger_types.go
INFO[0003] Created pkg/apis/addtoscheme_jaegertracing_v1.go
INFO[0003] Created pkg/apis/jaegertracing/v1/register.go
INFO[0003] Created pkg/apis/jaegertracing/v1/doc.go
INFO[0003] Created deploy/crds/jaegertracing_v1_jaeger_cr.yaml
INFO[0007] Created deploy/crds/jaegertracing_v1_jaeger_crd.yaml
INFO[0007] Running deepcopy code-generation for Custom Resource group versions: [jaegertracing:[v1], ]
INFO[0010] Code-generation complete.
INFO[0010] Running OpenAPI code-generation for Custom Resource group versions: [jaegertracing:[v1], ]
INFO[0017] Created deploy/crds/jaegertracing_v1_jaeger_crd.yaml
INFO[0017] Code-generation complete.
INFO[0017] API generation complete. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Running a simple
add api
command panics due to a null pointer.What did you do?
Environment
operator-sdk version: v0.10.0, commit: ff80b17737a6a0aade663e4827e8af3ab5a21170
go version go1.12.5 linux/amd64
Found while working on jaegertracing/jaeger-operator#607
The text was updated successfully, but these errors were encountered: