controller-tools
controller-tools copied to clipboard
:bug: Fix SIGSERV when RawSpec is nil (due to anonymous struct)
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.