controller-tools icon indicating copy to clipboard operation
controller-tools copied to clipboard

:bug: Fix SIGSERV when RawSpec is nil (due to anonymous struct)

Open rkettelerij opened this issue 1 year ago • 3 comments

Under some circumstances RawSpec can be nil. I've encountred this when generating a CRD of a complex set of structs. Currently the structToSchema func fails hard on this (SIGSERV). This PR fixes the latter.

rkettelerij avatar Mar 11 '24 08:03 rkettelerij